at.dms.backend
Class InferenceNode

java.lang.Object
  |
  +--at.dms.backend.InferenceNode

class InferenceNode
extends java.lang.Object

???


Constructor Summary
(package private) InferenceNode(QTemporary temp)
           
 
Method Summary
 void coalesceTo(InferenceNode other)
          Coalesce two nodes together: not implemented, throws RuntimeException.
 void colorize()
          Sets the color of the node.
 int countInference()
          Returns the number of inference.
 int getColor()
          Returns the color of the node.
 java.util.List getInferences()
          Returns the linked nodes.
 int getPosition()
          Gets the position of this node.
 int getPrecolor()
          Returns the precolor.
 int getSize()
          Returns the size.
 QTemporary[] getTemporaries()
          Returns the temporaries represented by this block.
 int getWeight()
          Returns the weight.
 boolean isPrecolored()
          Returns if this node is precolored.
 boolean isRemoved()
          Returns true if this node has been removed from the graph.
 void linkTo(InferenceNode other)
          Adds a link to an other node.
 void remove()
          Removes this node.
 void setTempsColor()
          Assigns the color to temporaries.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InferenceNode

InferenceNode(QTemporary temp)
Method Detail

getPosition

public int getPosition()
Gets the position of this node.

countInference

public int countInference()
Returns the number of inference.

linkTo

public void linkTo(InferenceNode other)
Adds a link to an other node.

getWeight

public int getWeight()
Returns the weight.

getInferences

public java.util.List getInferences()
Returns the linked nodes.

getTemporaries

public QTemporary[] getTemporaries()
Returns the temporaries represented by this block.

coalesceTo

public void coalesceTo(InferenceNode other)
Coalesce two nodes together: not implemented, throws RuntimeException.

remove

public void remove()
Removes this node.

isRemoved

public boolean isRemoved()
Returns true if this node has been removed from the graph.

getSize

public int getSize()
Returns the size.

getPrecolor

public int getPrecolor()
Returns the precolor.

isPrecolored

public boolean isPrecolored()
Returns if this node is precolored.

setTempsColor

public void setTempsColor()
Assigns the color to temporaries.

colorize

public void colorize()
Sets the color of the node.

getColor

public int getColor()
Returns the color of the node.