|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Matching
Class controlling all the different states of matching-problem (this means mostly different states of webs...) It also provides services to WebUI class for getting information about simulated algorithms...
Constructor Summary | |
Matching()
This constructor is defaultly used. |
|
Matching(int non,
int nlpn,
int mnlpn)
This constructor generates new GeneratedWeb, recycles it to RecycledWeb and solves the matching problem in SolvedWeb. |
|
Matching(java.lang.String path)
This constructor is used when user defines relations between given nodes. |
Method Summary | |
java.lang.String |
getAppletCode(boolean[][] mat)
makes HTML-code for applet WebDrawer from given adjacencymatrix... |
long |
getDumbSolvingTime()
Return time used to create a DumbSolvedWeb |
java.lang.String |
getHtmlTabledWeb(boolean[][] am)
makes a HTML-table out of given adjacencymatrix... |
long |
getRecyclingTime()
Return time used to create a RecycledWeb |
long |
getSmartSolvingTime()
Return time used to create a SmartSolvedWeb |
long |
getStartingTime()
Return time used to create a StartWeb |
boolean[][] |
getStartWebMatrix()
Return startwebs adjacencymatrix ... |
long |
getTotalTime()
|
boolean |
isDumbPerfect()
|
boolean |
isSmartPerfect()
|
boolean |
isSpecialCase()
Returns boolean telling if the matching was a special case (which is a web that SmartSolvedWeb solved better than DumbSolvedWeb ...) |
java.lang.String |
resultsToString(boolean[][] rm)
is used by methods smartResultsToString and dumbResultsToString to do the job ... |
java.lang.String |
simulate(int results)
Returns HTML-code to WebUI for showing webs. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Matching(int non, int nlpn, int mnlpn) throws java.lang.Exception
public Matching(java.lang.String path) throws java.lang.Exception
public Matching()
Method Detail |
public boolean isDumbPerfect()
public boolean isSmartPerfect()
public long getTotalTime()
public long getStartingTime()
public long getRecyclingTime()
public long getDumbSolvingTime()
public long getSmartSolvingTime()
public java.lang.String simulate(int results) throws java.lang.Exception
public boolean[][] getStartWebMatrix()
public boolean isSpecialCase()
public java.lang.String getAppletCode(boolean[][] mat)
public java.lang.String getHtmlTabledWeb(boolean[][] am)
public java.lang.String resultsToString(boolean[][] rm)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |