public class AMOEBA_UI
extends java.lang.Object
Constructor and Description |
---|
AMOEBA_UI(boolean viewer,
java.lang.String percepts)
Instantiates a new amoeba ui.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Percept> |
getAllPercepts()
Gets the all percepts.
|
java.lang.String |
getBestContextId()
Gets the best context id.
|
java.lang.String |
getBestContextMessage()
Gets the best context message.
|
java.util.HashMap<java.lang.String,java.lang.Double> |
getBestContextPerceptCenter()
Gets the best context percept center.
|
java.util.HashMap<Percept,Range> |
getRanges()
Gets the ranges.
|
void |
learn(java.util.HashMap<java.lang.String,java.lang.Double> actions)
Learn.
|
double |
request(java.util.HashMap<java.lang.String,java.lang.Double> actions)
Request.
|
public AMOEBA_UI(boolean viewer, java.lang.String percepts)
viewer
- the viewerpercepts
- the perceptspublic void learn(java.util.HashMap<java.lang.String,java.lang.Double> actions)
actions
- the actionspublic double request(java.util.HashMap<java.lang.String,java.lang.Double> actions)
actions
- the actionspublic java.util.ArrayList<Percept> getAllPercepts()
public java.lang.String getBestContextId()
public java.util.HashMap<java.lang.String,java.lang.Double> getBestContextPerceptCenter()
public java.lang.String getBestContextMessage()