Class LFColoringVertex

java.lang.Object
  |
  +--Vertex
        |
        +--ColoringVertex
              |
              +--LFColoringVertex
All Implemented Interfaces:
java.lang.Cloneable

public class LFColoringVertex
extends ColoringVertex
implements java.lang.Cloneable


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

LFColoringVertex

public LFColoringVertex()
Method Detail

agree

public boolean agree()
Description copied from class: Vertex
This method should determine if vertex state agrees to rules of a specified algorithm

Overrides:
agree in class ColoringVertex
Returns:
true means that vertex agree, false other way vertex is available.

move

public void move(int info)
This method assumes that vertex is available (agree()=false)

Specified by:
move in class ColoringVertex