public class Input extends BlackBoxAgent implements java.io.Serializable
| Constructor and Description |
|---|
Input() |
| Modifier and Type | Method and Description |
|---|---|
void |
computeAMessage(Message m)
Compute A message.
|
void |
fastPlay()
Fast play.
|
BBFunction |
getFunc()
Gets the func.
|
double |
getNextValue()
Gets the next value.
|
double |
getValue()
Gets the value.
|
void |
multValue(double factor)
Mult value.
|
void |
play()
Play one agent step.
|
void |
setFunc(BBFunction func)
Sets the func.
|
void |
setNextValue(double nextValue)
Sets the next value.
|
void |
setValue(double value)
Sets the value.
|
addConstraint, computeCriticity, getConstraints, getCriticity, getTargets, getWorstConstraint, readMessage, setConstraints, setCriticity, setTargetsdie, getID, getMessages, getMessagesBin, getName, isDying, sendExpressMessage, sendMessage, sendMessage, setDying, setID, setMessages, setMessagesBin, setNamepublic void play()
Agentpublic void fastPlay()
BlackBoxAgentfastPlay in class BlackBoxAgentpublic BBFunction getFunc()
public void setFunc(BBFunction func)
func - the new funcpublic double getValue()
BlackBoxAgentgetValue in class BlackBoxAgentpublic void setValue(double value)
value - the new valuepublic void computeAMessage(Message m)
AgentcomputeAMessage in class BlackBoxAgentm - the mpublic void multValue(double factor)
factor - the factorpublic double getNextValue()
public void setNextValue(double nextValue)
nextValue - the new next value