fr.jussieu.gla.wasa.monitor.model
Class StepNode
java.lang.Object
|
+--fr.jussieu.gla.wasa.monitor.model.Node
|
+--fr.jussieu.gla.wasa.monitor.model.StepNode
- All Implemented Interfaces:
- IStatistics, javax.swing.tree.TreeNode
- public class StepNode
- extends Node
- implements IStatistics
Represents a Step. Maybe created without a RunNode
parent, because
a RunNode keeping reference to all created StepNodes would
disallow garbage collection when the StepNode is just part of
an event for logging.
- Version:
- $Revision: 1.13 $ $Date: 2002/04/17 18:06:19 $
- Author:
- Florent Selva, Laurent Caillette
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StepNode
public StepNode()
- Creates an unparented StepNode.
StepNode
public StepNode(RunNode parent)
getRunNodeParent
public RunNode getRunNodeParent()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getId
public java.lang.String getId()
setId
public void setId(java.lang.String id)
getBestConfigurationId
public java.lang.String getBestConfigurationId()
setBestConfigurationId
public void setBestConfigurationId(java.lang.String id)
getBestConfigurationOverallError
public float getBestConfigurationOverallError()
setBestConfigurationOverallError
public void setBestConfigurationOverallError(float error)
getSelectionId
public java.lang.String getSelectionId()
setSelectionId
public void setSelectionId(java.lang.String id)
getSelectionOverallError
public float getSelectionOverallError()
setSelectionOverallError
public void setSelectionOverallError(float error)
getSelectedVar
public Var getSelectedVar()
setSelectedVar
public void setSelectedVar(Var var)
getTabuNodeCount
public int getTabuNodeCount()
getTabuNode
public TabuNode getTabuNode(int index)
getConfigurationNode
public ConfigurationNode getConfigurationNode(int index)
getParent
public javax.swing.tree.TreeNode getParent()
getExploreResult
public AlgorithmState getExploreResult()
setExploreResult
public void setExploreResult(AlgorithmState exploreResult)
setSelectedVarName
public void setSelectedVarName(java.lang.String selectedVarName)
getSelectedVarName
public java.lang.String getSelectedVarName()
isSolutionFound
public boolean isSolutionFound()
synthetize
public void synthetize()
isSynthetized
public boolean isSynthetized()
getConfigurationCount
public int getConfigurationCount()
- Specified by:
getConfigurationCount
in interface IStatistics
getRandomCount
public int getRandomCount()
- Specified by:
getRandomCount
in interface IStatistics
getSolutionCount
public int getSolutionCount()
- Specified by:
getSolutionCount
in interface IStatistics