|
Orbital library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DynamicProgrammingProblem
Hook class for problems solved by DynamicProgramming.
DynamicProgramming
Method Summary | |
---|---|
java.lang.Object[] |
getInitialPartialSolutions()
Get the initial array of partial solutions. |
boolean |
isSolution(java.lang.Object[] partialSolutions)
Check whether the given partial solutions are a valid solution to the problem. |
java.lang.Object |
merge(java.lang.Object[] partialSolutions)
Merge several partial solutions to a complete solution. |
int[] |
nextPart()
Divide this problem into several (dependant) problem parts and return the index description for the next part to solve. |
java.lang.Object |
solve(int[] part,
java.lang.Object[] partialSolutions)
Solve the problem part using the partial solutions we already now. |
Method Detail |
---|
java.lang.Object[] getInitialPartialSolutions()
boolean isSolution(java.lang.Object[] partialSolutions)
int[] nextPart()
java.lang.Object solve(int[] part, java.lang.Object[] partialSolutions)
nextPart()
java.lang.Object merge(java.lang.Object[] partialSolutions)
partialSolutions
- partial solutions
|
Orbital library 1.3.0: 11 Apr 2009 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |