public class ProbabilityOfGiven extends Abstract_Function
alreadyCalculated, alreadyCalculatedResults, listVariablesNeeded| Constructor and Description |
|---|
ProbabilityOfGiven(Variable probabilityOf,
java.util.List<Variable> given,
java.util.List<ProbabilitiesTableLine> probabilitiesTable) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
functionImplementation(java.util.List<Parameter> parameters)
This abstract method must be implemented in every class which will extend function. and represent the core of the function.
|
java.util.List<Variable> |
returnVariableUsed(java.util.List<Variable> listVariablesUsed)
This method return the variables that are used in the Abstract_Atom instance.
|
java.lang.String |
toString()
The goal here is to force the person who will implement a gdl instance to override the ToString method.
|
calculate, getLabelpublic ProbabilityOfGiven(Variable probabilityOf, java.util.List<Variable> given, java.util.List<ProbabilitiesTableLine> probabilitiesTable)
protected java.lang.Object functionImplementation(java.util.List<Parameter> parameters)
Abstract_FunctionfunctionImplementation in class Abstract_Functionparameters - a list of the parameter required for the functionpublic java.lang.String toString()
Abstract_AtomtoString in class Abstract_Atompublic java.util.List<Variable> returnVariableUsed(java.util.List<Variable> listVariablesUsed)
Abstract_AtomreturnVariableUsed in class Abstract_AtomlistVariablesUsed - The list of the variables used by the father is there is any