EASE.Sensing.Engine.CalcInterpret
Class Parameter
java.lang.Object
|
+--EASE.Sensing.Engine.CalcInterpret.Node
|
+--EASE.Sensing.Engine.CalcInterpret.Parameter
- public class Parameter
- extends Node
Encapsulates an instantiated agent specific parameter.
Also handles Factory suggestions.
Constructor Summary |
Parameter(Parameter specParam)
This constructor does the translation between specification
and engine. |
Parameter(java.lang.String name)
Don't know when or if this constructor would be called
Seems to be called by Agent Spec parameters |
Method Summary |
java.lang.Object |
execute(java.util.Hashtable params)
This executes by looking through the list of instantiated parameters
and finding a match. |
java.lang.Object |
execute(java.util.Hashtable params,
java.lang.StringBuffer sb)
|
private java.lang.Object |
getVFSuggestion(VectorFactorySuggestion vfs)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
name
private java.lang.String name
vectorFactoryName
private java.lang.String vectorFactoryName
factoryPath
private java.lang.String[] factoryPath
specParameter
public Parameter specParameter
Parameter
public Parameter(java.lang.String name)
- Don't know when or if this constructor would be called
Seems to be called by Agent Spec parameters
Parameter
public Parameter(Parameter specParam)
- This constructor does the translation between specification
and engine. A reference to the specification object is
is kept so that instantiations within the Cell/Node system (as
opposed to agent instantiations can be optimized). See Cell.java
execute
public java.lang.Object execute(java.util.Hashtable params)
- This executes by looking through the list of instantiated parameters
and finding a match. If there is none the debugger writes a message
and null is returned.
Factory suggestions are handled via this interface. When the factory
makes it's suggestion it is inserted as a parameter with name
FactorySuggestion.NAME+factoryName. Vector factories are handled
as a special case.
- Overrides:
- execute in class Node
execute
public java.lang.Object execute(java.util.Hashtable params,
java.lang.StringBuffer sb)
- Overrides:
- execute in class Node
getVFSuggestion
private java.lang.Object getVFSuggestion(VectorFactorySuggestion vfs)
toString
public java.lang.String toString()
- Overrides:
- toString in class Node