|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uci.ics.dillenco.graphalg.Matching
public class Matching
Field Summary | |
---|---|
(package private) LinkedList<Node> |
nodeQueue
|
Constructor Summary | |
---|---|
Matching(Graph graph)
Construct a matching for the given graph. |
Method Summary | |
---|---|
int |
getSize()
Returns the size of the matching. |
boolean |
isAlmostPerfect()
Return true if this matching is almost perfect. |
boolean |
isPerfect()
Return true if this matching is perfect. |
String |
toString()
Returns a string representation of the matching. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
LinkedList<Node> nodeQueue
Constructor Detail |
---|
public Matching(Graph graph)
graph
- the Graph for which the matching is to be constructed.Method Detail |
---|
public String toString()
toString
in class Object
public int getSize()
public boolean isPerfect()
public boolean isAlmostPerfect()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |