|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--Reasoner.MonteCarloRunSet
Serves as a collection of closely related ObjectInferences produced by the pre-reasoner. It supports the Monte Carlo simulation that feeds into the distillation process. A Monte Carlo simulation consists of an arbitrary number of runs over the following steps:
See the Distiller for the next set of steps.
ObjectInference,
Distiller,
StaticReasoner,
SimulationEngine| Field Summary | |
private java.util.Hashtable |
m_object_inferences
|
private SemanticNetwork |
m_semantic_network_instance
|
private java.lang.String |
m_set_name
|
| Constructor Summary | |
MonteCarloRunSet(java.lang.String set_name)
Creates an empty run set. |
|
| Method Summary | |
void |
addObjectInference(ObjectInference object_inference)
Adds an ObjectInference to this run set. |
MonteCarloRunSet |
getClone()
Returns a deep copy of this run set. |
java.lang.StringBuffer |
getExport()
Returns a string representation of the object inferences in this run set. |
java.lang.String |
getName()
Returns the name of this run set. |
ObjectInference |
getObjectInference(java.lang.String object_name)
Returns the specified ObjectInference in this run set. |
int |
getObjectInferenceCount()
Returns the number of ObjectInferences in this run set. |
java.util.LinkedList |
getObjectInferenceNames()
Returns a string list of the names of ObjectInferences in this run set. |
java.util.Enumeration |
getObjectInferences()
Returns a list of ObjectInferences in this run set. |
SemanticNetwork |
getSemanticNetworkInstance()
Returns the network instance of this run set. |
void |
overrideName(java.lang.String set_name)
Replaces the name of this run set. |
void |
setSemanticNetworkInstance(SemanticNetwork semantic_network_instance)
Sets the semantic network instance of this run set. |
java.lang.String |
toString()
Returns a string representation of this object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private java.lang.String m_set_name
private java.util.Hashtable m_object_inferences
private SemanticNetwork m_semantic_network_instance
| Constructor Detail |
public MonteCarloRunSet(java.lang.String set_name)
set_name - - the name| Method Detail |
public void addObjectInference(ObjectInference object_inference)
throws java.lang.Exception
object_inference - - the object
java.lang.Exception - - if the object is already present in this run setpublic MonteCarloRunSet getClone()
public java.lang.StringBuffer getExport()
Support.WINDOWS_NEWLINE
public ObjectInference getObjectInference(java.lang.String object_name)
throws java.lang.Exception
object_name - - the object name
java.lang.Exception - - if the object is not present in this run setpublic java.util.Enumeration getObjectInferences()
ObjectInferencepublic int getObjectInferenceCount()
public java.util.LinkedList getObjectInferenceNames()
public java.lang.String getName()
public SemanticNetwork getSemanticNetworkInstance()
setSemanticNetworkInstance(SemanticNetwork.SemanticNetwork)public void overrideName(java.lang.String set_name)
set_name - - the new namepublic void setSemanticNetworkInstance(SemanticNetwork semantic_network_instance)
getSemanticNetworkInstance()public java.lang.String toString()
toString in class java.lang.ObjectSupport.toPrettyString(java.lang.String)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||