Class SolvedWeb

java.lang.Object
  |
  +--Web
        |
        +--SolvedWeb
Direct Known Subclasses:
DumbSolvedWeb, SmartSolvedWeb

public abstract class SolvedWeb
extends Web

This class is used to solve the matching problem with to different algorithms and to hold simulation informations just like StartWeb...

Version:
1.0 Created 21.3.2000 Last Modified 17.4.2000
Author:
Ilkka Lassila, Tero Karhunen

Field Summary
protected  int numberofpairs
           
 
Fields inherited from class Web
adjacencymatrix, beginTime, endTime, numberofnodes
 
Constructor Summary
SolvedWeb()
           
 
Method Summary
 int getNumberOfPairs()
          Returns number of nodes matched...
protected  boolean isPerfectMatching()
          Tells if the SolvedWeb is a Perfect Matching for a graph...
protected  void setNumberOfPairs()
          Sets number of nodes matched...
 
Methods inherited from class Web
arrayCopy, arrayCopy, getAdjacencymatrix, getBeginTime, getEndTime, getNumberOfNodes, getTime, setAdjacencymatrix, setAdjacencymatrix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numberofpairs

protected int numberofpairs
Constructor Detail

SolvedWeb

public SolvedWeb()
Method Detail

isPerfectMatching

protected boolean isPerfectMatching()
Tells if the SolvedWeb is a Perfect Matching for a graph...

getNumberOfPairs

public int getNumberOfPairs()
Returns number of nodes matched...

setNumberOfPairs

protected void setNumberOfPairs()
Sets number of nodes matched...