clarion.acs
Class AcsAction

java.lang.Object
  extended byclarion.acs.AcsAction

public class AcsAction
extends java.lang.Object


Field Summary
protected  double[] activations
          the activations of the action.
protected  short[][] activeDimVals
          currently active values in each dimension of NON-TYPE part.
protected  short[] dimNums
          # of dimensions of each NON-TYPE part.
protected  short[][] dimValNums
          # of allowable values of each dimension of NON-TYPE part.
protected  int fullLength
          the full expansion length of NON-TYPE parts in 1-dimensional format.
protected  Global global
          global settings.
protected  int nonTypeDimNum
          the # of dimensions of NON-TYPE parts.
protected  VCGSet[] parameters
          relevant parameters to the specific action.
protected  int paramStart
          the start position of PARAMETER part in the array : activations.
protected  double ruleSupport
          rule support for this action.
protected  short[] subActions
          what the action will do in term of a set of subactions.
protected  int type
          action type : EX, GS, WM, NACS-control.
 
Constructor Summary
AcsAction(Global global, int type, int fullLength, short[] dimNums, short[][] dimValNums)
          Constructor for initializing this AcsAction object using the given parameters.
 
Method Summary
 void decideActiveDimVals()
          Decides active values for all NON-TYPE dimensions.
 short[][] getActiveValues()
          Returns the active values.
 VCGSet[] getParameters()
          Returns the parameters.
 short[] getSubActions()
          Returns the sub-actions.
 int getType()
          Returns the type.
 void setActivations(double[] activations)
          Sets activations for this ACS action.
 void setActiveDimVals(short[][] activeVals)
          Sets currently active values for all ACS action dimensions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

global

protected Global global
global settings.


dimNums

protected short[] dimNums
# of dimensions of each NON-TYPE part.


dimValNums

protected short[][] dimValNums
# of allowable values of each dimension of NON-TYPE part.


fullLength

protected int fullLength
the full expansion length of NON-TYPE parts in 1-dimensional format.


type

protected int type
action type : EX, GS, WM, NACS-control.


subActions

protected short[] subActions
what the action will do in term of a set of subactions.


parameters

protected VCGSet[] parameters
relevant parameters to the specific action.


nonTypeDimNum

protected int nonTypeDimNum
the # of dimensions of NON-TYPE parts.


paramStart

protected int paramStart
the start position of PARAMETER part in the array : activations.


activeDimVals

protected short[][] activeDimVals
currently active values in each dimension of NON-TYPE part.


ruleSupport

protected double ruleSupport
rule support for this action.


activations

protected double[] activations
the activations of the action.

Constructor Detail

AcsAction

public AcsAction(Global global,
                 int type,
                 int fullLength,
                 short[] dimNums,
                 short[][] dimValNums)
Constructor for initializing this AcsAction object using the given parameters.

Parameters:
global - the global variables.
type - action type.
fullLength - the full length of the NON-TYPE parts of the action in one dimensional format.
dimNums - the # of dimesions of each NON-TYPE part.
dimValNums - the # of allowable values in each dimension of NON-TYPE part.
Method Detail

getType

public int getType()
Returns the type.

Returns:
the type.

getActiveValues

public short[][] getActiveValues()
Returns the active values.

Returns:
the active values.

getSubActions

public short[] getSubActions()
Returns the sub-actions.

Returns:
the sub-actions.

getParameters

public VCGSet[] getParameters()
Returns the parameters.

Returns:
the parameters.

setActiveDimVals

public void setActiveDimVals(short[][] activeVals)
Sets currently active values for all ACS action dimensions.


setActivations

public void setActivations(double[] activations)
Sets activations for this ACS action.


decideActiveDimVals

public void decideActiveDimVals()
Decides active values for all NON-TYPE dimensions. called after activations is set by BL methods.