|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.fnbrito.ai.config.agent.ConfiguratorAgent
| Field Summary | |
protected boolean |
debug
|
| Constructor Summary | |
ConfiguratorAgent(Configurable target)
|
|
| Method Summary | |
void |
decreaseInterval()
Decrementa el tiempo entre comprobaciones del estado del objeto configurado, por un factor CHECK_INTERVAL_FACTOR. |
void |
decreaseIntervalFactor()
Decrementa en 1ms. el factor de incremento/decremento del intervalo de comprobación del estado del objeto configurado. |
ConfigurationChange[] |
getConfigurations()
|
FitnessFunction |
getFitnessFunction()
La función fitness debe medir el éxito de una configuración particular. |
void |
increaseInterval()
Incrementa el tiempo entre comprobaciones del estado del objeto configurado, por un factor CHECK_INTERVAL_FACTOR. |
void |
increaseIntervalFactor()
Aumenta en 1ms. el factor de incremento/decremento del intervalo de comporobación del estado del objeto configurado. |
boolean |
needsReconfiguration()
|
void |
postConfigure()
Método a invocar después de modificar la configuración del componente. |
void |
preConfigure()
Método a invocar antes de modificar la configuración del componente. |
void |
run()
Itera indefinidamente hasta que se invoque al método shutdown. |
void |
shutdown()
Desactivar el agente de configuración. |
protected void |
traza(java.lang.Object o)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected boolean debug
| Constructor Detail |
public ConfiguratorAgent(Configurable target)
target - el objeto a configurar.| Method Detail |
public void run()
run in interface java.lang.RunnableRunnable.run()public ConfigurationChange[] getConfigurations()
getConfigurations in interface ConfigurableConfigurable.getConfigurations()public boolean needsReconfiguration()
needsReconfiguration in interface ConfigurableConfigurable.needsReconfiguration()public void increaseInterval()
public void decreaseInterval()
public void increaseIntervalFactor()
public void decreaseIntervalFactor()
public void shutdown()
public FitnessFunction getFitnessFunction()
Configurable
getFitnessFunction in interface ConfigurableConfigurable.getFitnessFunction()public void preConfigure()
Configurable
preConfigure in interface ConfigurableConfigurable.preConfigure()public void postConfigure()
Configurable
postConfigure in interface ConfigurableConfigurable.postConfigure()protected void traza(java.lang.Object o)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||