org.encog.ml.bayesian.parse
Class ParseProbability

java.lang.Object
  extended by org.encog.ml.bayesian.parse.ParseProbability

public class ParseProbability
extends Object

Used to parse probability strings for the Bayes networks.


Constructor Summary
ParseProbability(BayesianNetwork theNetwork)
          Parse the probability for the specified network.
 
Method Summary
 ParsedProbability parse(String line)
          Parse the given line.
static List<ParsedProbability> parseProbabilityList(BayesianNetwork network, String line)
          Parse a probability list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParseProbability

public ParseProbability(BayesianNetwork theNetwork)
Parse the probability for the specified network.

Parameters:
theNetwork - THe network to parse for.
Method Detail

parse

public ParsedProbability parse(String line)
Parse the given line.

Parameters:
line -
Returns:
The parsed probability.

parseProbabilityList

public static List<ParsedProbability> parseProbabilityList(BayesianNetwork network,
                                                           String line)
Parse a probability list.

Parameters:
network - The network to parse for.
line - The line to parse.
Returns:
The parsed list.


Copyright © 2014. All Rights Reserved.