|
|||||||||
| 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
| 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 |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 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 Objectpublic int getSize()
public boolean isPerfect()
public boolean isAlmostPerfect()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||