|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulg.montefiore.run.totem.repository.SAMTE.model.SAMTESolution
public class SAMTESolution
Creation date: 25-Feb-2005 12:20:23
Constructor Summary | |
---|---|
SAMTESolution(ObjectiveFunction of,
TrafficMatrix tm,
SimplifiedDomain sDomain)
|
Method Summary | |
---|---|
boolean |
addLsp(ExtendedPath ePath)
|
java.lang.Object |
clone()
Clone deeply a solution |
void |
display()
Display a solution. |
void |
displayFull()
|
double |
evaluate()
Evaluate the solution using the objective function |
SimplifiedDomain |
getDomain()
|
double[] |
getLinkLoad()
|
LinkLoadComputation |
getLlc()
|
java.util.List<ExtendedPath> |
getLspList()
|
ObjectiveFunction |
getObjectiveFunction()
Get the objective function |
SimplifiedPath |
getPath(int srcNode,
int dstNode)
|
double[] |
getRelativeLinkLoad()
|
long |
getTimeToManageLSPList()
|
TrafficMatrix |
getTm()
|
boolean |
initStructure()
|
boolean |
removeLsp(ExtendedPath path)
|
boolean |
removeLsp(int number)
|
void |
resetTime()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SAMTESolution(ObjectiveFunction of, TrafficMatrix tm, SimplifiedDomain sDomain)
Method Detail |
---|
public LinkLoadComputation getLlc()
public SimplifiedDomain getDomain()
public TrafficMatrix getTm()
public long getTimeToManageLSPList()
public void resetTime()
public boolean initStructure() throws java.lang.Exception
java.lang.Exception
public java.util.List<ExtendedPath> getLspList()
public boolean removeLsp(int number) throws java.lang.Exception
java.lang.Exception
public boolean removeLsp(ExtendedPath path) throws java.lang.Exception
java.lang.Exception
public double[] getLinkLoad()
public double[] getRelativeLinkLoad()
public SimplifiedPath getPath(int srcNode, int dstNode)
public boolean addLsp(ExtendedPath ePath) throws java.lang.Exception
java.lang.Exception
public double evaluate()
evaluate
in interface HeuristicSolution
public void display()
display
in interface HeuristicSolution
public void displayFull() throws java.lang.Exception
java.lang.Exception
public ObjectiveFunction getObjectiveFunction()
getObjectiveFunction
in interface HeuristicSolution
public java.lang.Object clone()
clone
in interface HeuristicSolution
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |