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

Constructor Summary
StepNode()
          Creates an unparented StepNode.
StepNode(RunNode parent)
           
 
Method Summary
 java.lang.String getBestConfigurationId()
           
 float getBestConfigurationOverallError()
           
 int getConfigurationCount()
           
 ConfigurationNode getConfigurationNode(int index)
           
 AlgorithmState getExploreResult()
           
 java.lang.String getId()
           
 javax.swing.tree.TreeNode getParent()
           
 int getRandomCount()
           
 RunNode getRunNodeParent()
           
 Var getSelectedVar()
           
 java.lang.String getSelectedVarName()
           
 java.lang.String getSelectionId()
           
 float getSelectionOverallError()
           
 int getSolutionCount()
           
 TabuNode getTabuNode(int index)
           
 int getTabuNodeCount()
           
 boolean isSolutionFound()
           
 boolean isSynthetized()
           
 void setBestConfigurationId(java.lang.String id)
           
 void setBestConfigurationOverallError(float error)
           
 void setExploreResult(AlgorithmState exploreResult)
           
 void setId(java.lang.String id)
           
 void setSelectedVar(Var var)
           
 void setSelectedVarName(java.lang.String selectedVarName)
           
 void setSelectionId(java.lang.String id)
           
 void setSelectionOverallError(float error)
           
 void synthetize()
           
 java.lang.String toString()
           
 
Methods inherited from class fr.jussieu.gla.wasa.monitor.model.Node
addChild, children, clearAllChildren, getAllowsChildren, getChildAt, getChildCount, getIndex, getProblemNode, isLeaf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StepNode

public StepNode()
Creates an unparented StepNode.

StepNode

public StepNode(RunNode parent)
Method Detail

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