|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.multijava.util.backend.InferenceNode
This class represents a temporary
| Field Summary | |
private int |
color
|
private ArrayList |
links
|
private boolean |
removed
|
private ArrayList |
temps
|
| Constructor Summary | |
(package private) |
InferenceNode(QTemporary temp)
|
| Method Summary | |
void |
coalesceTo(InferenceNode other)
Coalesce two nodes together. |
void |
colorize()
Sets the color of the node. |
int |
countInference()
Returns the number of inference. |
int |
getColor()
Returns the color of the node |
ArrayList |
getInferences()
Returns the linked nodes. |
int |
getPosition()
Gets the position of this node |
int |
getPrecolor()
Returns the precolor |
int |
getSize()
Returns the precolor |
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 |
| Field Detail |
private ArrayList temps
private ArrayList links
private boolean removed
private int color
| Constructor Detail |
InferenceNode(QTemporary temp)
| Method Detail |
public int getPosition()
public int countInference()
public void linkTo(InferenceNode other)
public int getWeight()
public ArrayList getInferences()
public QTemporary[] getTemporaries()
public void coalesceTo(InferenceNode other)
public void remove()
public boolean isRemoved()
public int getSize()
public int getPrecolor()
public boolean isPrecolored()
public void setTempsColor()
public void colorize()
public int getColor()
|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||