|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclarion.acs.VCG
Field Summary | |
protected double[] |
activations
the activations. |
protected int |
candidate
the candidate. |
protected int |
elementNum
the number of elements. |
Constructor Summary | |
VCG(int elementNum)
constructor. |
Method Summary | |
int |
decideCandidate()
Decides the candidate. |
double[] |
getActivations()
Returns the activations. |
int |
getCandidate()
Returns the candidate. |
int |
getElementNum()
Returns the number of elements. |
double |
getMaxActivation()
Returns the MAX activation in this VCG. |
void |
setActivations(double[] activations)
Sets the activations. |
void |
setActivations(int activeValue)
Sets the activations. |
void |
setCandidate(int candidate)
Sets the candidate. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int elementNum
protected int candidate
protected double[] activations
Constructor Detail |
public VCG(int elementNum)
elementNum
- the number of elements.Method Detail |
public int getElementNum()
public int getCandidate()
public double[] getActivations()
public double getMaxActivation()
public void setCandidate(int candidate)
candidate
- the candidate to set.public void setActivations(double[] activations)
activations
- the activations to set.public void setActivations(int activeValue)
activeValue
- the active value (candidate) to set.public int decideCandidate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |