|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.pso.dynamic.detectionstrategies.EnvironmentChangeDetectionStrategy<E> net.sourceforge.cilib.pso.dynamic.detectionstrategies.RandomSentryDetectionStrategy<E>
RandomSentriesDetectionStrategy
public class RandomSentryDetectionStrategy<E extends PopulationBasedAlgorithm>
Field Summary |
---|
Fields inherited from class net.sourceforge.cilib.pso.dynamic.detectionstrategies.EnvironmentChangeDetectionStrategy |
---|
epsilon, interval |
Constructor Summary | |
---|---|
RandomSentryDetectionStrategy()
Deprecated. |
|
RandomSentryDetectionStrategy(RandomSentryDetectionStrategy<E> copy)
Deprecated. |
Method Summary | |
---|---|
boolean |
detect(E algorithm)
Deprecated. Check for environment change: Pick the specified number of random particles (sentries) and evaluate their current positions. |
RandomSentryDetectionStrategy<E> |
getClone()
Deprecated. Clone the EnvironmentChangeDetectionStrategy object. |
Random |
getRandomiser()
Deprecated. |
int |
getSentries()
Deprecated. |
double |
getTheta()
Deprecated. |
void |
setRandomiser(Random randomiser)
Deprecated. |
void |
setSentries(int sentries)
Deprecated. |
void |
setTheta(double theta)
Deprecated. |
Methods inherited from class net.sourceforge.cilib.pso.dynamic.detectionstrategies.EnvironmentChangeDetectionStrategy |
---|
getEpsilon, getIterationsModulus, setEpsilon, setIterationsModulus |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RandomSentryDetectionStrategy()
public RandomSentryDetectionStrategy(RandomSentryDetectionStrategy<E> copy)
Method Detail |
---|
public RandomSentryDetectionStrategy<E> getClone()
EnvironmentChangeDetectionStrategy
getClone
in interface Cloneable
getClone
in class EnvironmentChangeDetectionStrategy<E extends PopulationBasedAlgorithm>
Object.clone()
public boolean detect(E algorithm)
detect
in class EnvironmentChangeDetectionStrategy<E extends PopulationBasedAlgorithm>
algorithm
- PSO algorithm that operates in a dynamic environment
public Random getRandomiser()
public void setRandomiser(Random randomiser)
randomiser
- the randomiser to setpublic int getSentries()
public void setSentries(int sentries)
sentries
- the sentries to setpublic double getTheta()
public void setTheta(double theta)
theta
- the theta to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |