public class GlobalVariables
extends java.lang.Object
Constructor and Description |
---|
GlobalVariables()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Avoids cloning
|
void |
decreaseThetaTemps()
Decreases the values of used thetas by multiplying them by a certain fraction in case no behaviour is used
|
double |
getDecay()
amount of energy that is naturally lost by the behavior at each iteration
|
double |
getDelta()
amount of activation energy a protected goal takes away from the network
|
double |
getGamma()
amount of activation energy a goal injects into the network
|
double |
getPhi()
amount of activation energy a proposition that is observed to be true injects into the network
|
double |
getPi()
mean level of activation
|
double |
getTheta()
threshold for becoming active
|
double |
getThetaTemp()
threshold for becoming active that starts as theta but gets reduced by a percentage in case no behavior is selected
|
double |
getThetaTempDecreaseRate()
Fraction of decrease suffered by theta coming from each behavior codelet
|
boolean |
isWorldStateInHashMap() |
void |
setDecay(double decay)
amount of energy that is naturally lost by the behavior at each iteration
|
void |
setDelta(double delta)
amount of activation energy a protected goal takes away from the network
|
void |
setGamma(double gamma)
amount of activation energy a goal injects into the network
|
void |
setPhi(double phi)
amount of activation energy a proposition that is observed to be true injects into the network
|
void |
setPi(double pi)
mean level of activation
|
void |
setTheta(double theta)
threshold for becoming active
|
void |
setThetaTemp(double thetaTemp)
threshold for becoming active that starts as theta but gets reduced by a percentage in case no behavior is selected
|
void |
setThetaTempDecreaseRate(double decreaseRate)
Fraction of decrease suffered by theta (temp theta)
|
void |
setWorldStateInHashMap(boolean worldStateInHashMap) |
public boolean isWorldStateInHashMap()
public void setWorldStateInHashMap(boolean worldStateInHashMap)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public double getGamma()
public void setGamma(double gamma)
gamma
- the gamma to setpublic double getTheta()
public void setTheta(double theta)
theta
- the theta to setpublic double getPi()
public void setPi(double pi)
pi
- the pi to setpublic double getPhi()
public void setPhi(double phi)
phi
- the phi to setpublic double getDelta()
public void setDelta(double delta)
delta
- the delta to setpublic double getThetaTemp()
public void setThetaTemp(double thetaTemp)
thetaTemp
- the thetaTemp to setpublic double getDecay()
public void setDecay(double decay)
decay
- public double getThetaTempDecreaseRate()
public void setThetaTempDecreaseRate(double decreaseRate)
decreaseRate
- the decreaseRate to setpublic void decreaseThetaTemps()