|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--LGames.ANMeaning
This class implements the representations of meanings. Meanings are represented as Adaptive Radial Basis Networks, though not yet completed. They actually function as prototypes The class controls the meaning and implements certain operations that can be performed on this representation.
Copyright (c) 2004 Paul Vogt
Field Summary | |
protected int |
dim
|
protected double |
initialWeight
|
protected DoubleArray |
rbf
|
protected double |
std
|
protected DoubleArray |
w
|
protected double |
y
|
protected double |
z
|
Constructor Summary | |
ANMeaning()
Empty constructor |
|
ANMeaning(int d,
double x)
Constructs a radial basis function (ANMeaning) for dimension d and with a center point x. |
Method Summary | |
void |
addLocalUnit(int d,
double x)
This function is not used currently. |
void |
addTarget(int a)
This function is not used currently. |
double |
avgCenter()
|
boolean |
decayWeights()
This function is not used currently. |
double |
evalY(int ts,
double x)
Function to evaluate the activation value for the given feature |
int |
getCover()
|
int |
getDim()
|
IntArray |
getTargets()
This function is not used currently. |
boolean |
notExists(java.util.List o)
Checks if the current meaning is an element of the ontology. |
java.lang.String |
toString()
|
void |
updateWeights(int d,
double x)
This function is not used currently. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected int dim
protected DoubleArray rbf
protected DoubleArray w
protected final double initialWeight
protected final double std
protected double z
protected double y
Constructor Detail |
public ANMeaning()
public ANMeaning(int d, double x)
d
- dimensionx
- the feature valueMethod Detail |
public double evalY(int ts, double x)
ts
- a timestampx
- the feature value
public boolean notExists(java.util.List o)
o
- the ontology
public void addLocalUnit(int d, double x)
public void updateWeights(int d, double x)
public boolean decayWeights()
public double avgCenter()
public IntArray getTargets()
public void addTarget(int a)
public int getDim()
public int getCover()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |