public abstract class Primitive extends Object implements Serializable, Indexable<Primitive>
| Constructor and Description |
|---|
Primitive() |
Primitive(int inputCount,
String symbol,
double value,
boolean readOnly) |
| Modifier and Type | Method and Description |
|---|---|
int |
arity() |
Primitive |
copy(Primitive that) |
boolean |
equals(Object o) |
abstract void |
execute(Observation observation) |
int |
getIndex() |
double |
getInput(int index) |
String |
getName() |
String |
getSymbol() |
double |
getValue() |
int |
hashCode() |
boolean |
isReadOnly() |
boolean |
isTerminal() |
abstract Primitive |
makeCopy() |
void |
read(List<Double> values) |
void |
setIndex(int index) |
void |
setInput(int index,
double value) |
void |
setValue(double val) |
public Primitive()
public Primitive(int inputCount,
String symbol,
double value,
boolean readOnly)
public boolean isTerminal()
public int arity()
public void setInput(int index,
double value)
public double getInput(int index)
public void setValue(double val)
public double getValue()
public String getSymbol()
public boolean isReadOnly()
public abstract Primitive makeCopy()
public abstract void execute(Observation observation)
Copyright © 2017. All rights reserved.