|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
brain.hedonic.Energy
public class Energy
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
double |
nrg
|
double |
optnrg
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
Energy()
|
|
Energy(double energy)
|
|
| Method Summary | |
|---|---|
void |
Act()
|
double |
Eval(double[] signal)
evaluating current energetic state and making some basical predictions based on AR |
long |
EvalTime(long period)
evaluating current energetic state and making some basical predictions based on AR |
double |
food(double nrg)
energetic income of the system |
double |
nrgfunct(double val)
function evaluating the current energy neccessity compared to the optimal value |
double |
NRGfunct(double val)
|
double |
unitEval()
|
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public double nrg
public double optnrg
| Constructor Detail |
|---|
public Energy()
public Energy(double energy)
| Method Detail |
|---|
public void Act()
public double food(double nrg)
public double unitEval()
public double Eval(double[] signal)
public long EvalTime(long period)
public double nrgfunct(double val)
val -
public double NRGfunct(double val)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||