|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.carlosbcruz.bruteforce.BruteForce
public class BruteForce
Implement the brute force algorithm
Constructor Summary | |
---|---|
BruteForce(Problem problem)
Brute Force algorith solves a problem |
Method Summary | |
---|---|
void |
execute()
Start solving the problem |
java.util.Vector |
getSolution()
|
boolean |
isReadyToExecuteCall()
Is the command ready to be executed ? |
void |
run()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BruteForce(Problem problem)
problem
- Method Detail |
---|
public boolean isReadyToExecuteCall()
public void run()
run
in interface java.lang.Runnable
public void execute()
public void stop()
public java.util.Vector getSolution()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |