|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dbe.eve.ga.impl.SolutionImpl
public class SolutionImpl
This class represent one simple solution for a bussiness model. This is a set of services that can fit the model.
| Constructor Summary | |
|---|---|
SolutionImpl()
|
|
SolutionImpl(float fitnessValue,
EvEService[] solution)
Constructor. |
|
| Method Summary | |
|---|---|
float |
getFitnessValue()
|
EvEService[] |
getServices()
The Set of Services of which this solution consists |
EvEService[] |
getSolution()
|
int |
getSolutionSize()
Return the number of services (0 if none) |
boolean |
isEvaluated()
|
void |
setEvaluated(boolean evaluated)
|
void |
setFitnessValue(float fitnessValue)
|
void |
setSolution(EvEService[] solution)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SolutionImpl()
public SolutionImpl(float fitnessValue,
EvEService[] solution)
fitnessValue - Associated Fitnesssolution - The Set of Services of which this solution consists| Method Detail |
|---|
public EvEService[] getServices()
getServices in interface Solutionpublic int getSolutionSize()
getSolutionSize in interface Solutionpublic float getFitnessValue()
getFitnessValue in interface Solutionpublic void setFitnessValue(float fitnessValue)
setFitnessValue in interface PrivateSolutionpublic boolean isEvaluated()
public void setEvaluated(boolean evaluated)
evaluated - The evaluated to set.public EvEService[] getSolution()
public void setSolution(EvEService[] solution)
solution - The solution to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||