|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--Vertex
|
+--ColoringVertex
|
+--LFColoringVertex
| Field Summary |
| Fields inherited from class ColoringVertex |
color, MINCOLOR |
| Fields inherited from class Vertex |
neighbors, xFactor, yFactor |
| Constructor Summary | |
LFColoringVertex()
|
|
| Method Summary | |
boolean |
agree()
This method should determine if vertex state agrees to rules of a specified algorithm |
void |
move(int info)
This method assumes that vertex is available (agree()=false) |
| Methods inherited from class ColoringVertex |
clone, colorsUsed, getColor, getState, getStateInfo, paintState, printState, randomState, setState |
| Methods inherited from class Vertex |
addEdge, deg, distance, getInfo, getName, getRadius, getXCoordinate, getYCoordinate, iterator, print, setCoordinates, setFactors, setName, setRadius, setXCoordinate, setYCoordinate |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LFColoringVertex()
| Method Detail |
public boolean agree()
Vertex
agree in class ColoringVertexpublic void move(int info)
move in class ColoringVertex
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||