biocell
Class Energy

java.lang.Object
  extended by java.lang.Thread
      extended by biocell.Energy
All Implemented Interfaces:
EnergyPrimitivesListener, java.lang.Runnable

public class Energy
extends java.lang.Thread
implements EnergyPrimitivesListener

Class Energy the bottom class of the agent. the low level information processing unit. USed for processing energy and information parsing concerning the internal state. Perceptron is connected to the environment and sends information to the agent deeper level of prediction. At the end of one cycle the agent executes commands via another neural network -multi-qualitative objects perception -creating of complex representation -predicting 2002 by Martin Lukac


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 double nrg
          Current energy: nrg
 double optnrg
          optimal energy optnrg
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Energy(BioCell biocell)
           
Energy(BioThread thread)
           
 
Method Summary
 void econs()
          unit energy consumption
 void energyModified(EnergyPrimitive Ep)
           
 void run()
           
 double state()
           
 double unitEval()
          evaluating current energetic state and making some basical predictions based on AR We floor the function values to 10e20
 
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, 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

nrg

public double nrg
Current energy: nrg


optnrg

public double optnrg
optimal energy optnrg

Constructor Detail

Energy

public Energy(BioThread thread)
Parameters:
thread -

Energy

public Energy(BioCell biocell)
Parameters:
thread -
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

energyModified

public void energyModified(EnergyPrimitive Ep)
Specified by:
energyModified in interface EnergyPrimitivesListener

econs

public void econs()
unit energy consumption


state

public double state()
Returns:

unitEval

public double unitEval()
evaluating current energetic state and making some basical predictions based on AR We floor the function values to 10e20

Returns: