|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectalgorithms.acceptors.AcceptNewRemoveFirst
public class AcceptNewRemoveFirst
| Constructor Summary | |
|---|---|
AcceptNewRemoveFirst(int solutionMemory)
|
|
| Method Summary | |
|---|---|
boolean |
acceptSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions,
VehicleRoutingProblemSolution newSolution)
Accepts every solution if solution memory allows. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AcceptNewRemoveFirst(int solutionMemory)
| Method Detail |
|---|
public boolean acceptSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions,
VehicleRoutingProblemSolution newSolution)
Note that this modifies Collection
acceptSolution in interface SolutionAcceptor
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||