public class Output extends BlackBoxAgent implements java.io.Serializable
| Constructor and Description |
|---|
Output()
Instantiates a new output.
|
| Modifier and Type | Method and Description |
|---|---|
void |
computeAMessage(Message m)
Compute A message.
|
void |
fastPlay()
Fast play.
|
BBFunction |
getFunc()
Gets the func.
|
Input |
getInput()
Gets the input.
|
int |
getPort()
Gets the port.
|
double |
getValue()
Gets the value.
|
void |
initSocket()
Inits the socket.
|
void |
play()
Play one agent step.
|
void |
setFunc(BBFunction func)
Sets the func.
|
void |
setInput(Input input)
Sets the input.
|
void |
setPort(int port)
Sets the port.
|
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 void initSocket()
public void computeAMessage(Message m)
AgentcomputeAMessage in class BlackBoxAgentm - the mpublic 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 Input getInput()
public void setInput(Input input)
input - the new inputpublic int getPort()
public void setPort(int port)
port - the new port