org.jactr.core.production.four
Interface ISubsymbolicProduction4

All Superinterfaces:
IParameterized, ISubsymbolicProduction
All Known Implementing Classes:
DefaultSubsymbolicProduction4, DefaultSubsymbolicProduction5

public interface ISubsymbolicProduction4
extends ISubsymbolicProduction


Field Summary
static java.lang.String C
          Description of the Field
static java.lang.String CREATION_CYCLE
           
static java.lang.String EFFORT_COUNT
          Description of the Field
static java.lang.String EFFORT_TIMES
          Description of the Field
static java.lang.String FAILURE
           
static java.lang.String FAILURE_COUNT
          Description of the Field
static java.lang.String FAILURE_TIMES
          Description of the Field
static java.lang.String GAIN
          Description of the Field
static java.lang.String P
          Description of the Field
static java.lang.String PRIOR_EFFORTS
          Description of the Field
static java.lang.String PRIOR_FAILURES
          Description of the Field
static java.lang.String PRIOR_SUCCESSES
          Description of the Field
static java.lang.String REFERENCE_COUNT
          Description of the Field
static java.lang.String REFERENCE_TIMES
          Description of the Field
static java.lang.String SUCCESS
           
static java.lang.String SUCCESS_COUNT
          Description of the Field
static java.lang.String SUCCESS_TIMES
          Description of the Field
 
Fields inherited from interface org.jactr.core.production.ISubsymbolicProduction
CREATION_TIME, FIRING_TIME
 
Method Summary
 double getC()
          get the cost of firing the production
 int getCreationCycle()
          what production cycle was this production created during
 IReferences getEfforts()
           
 double getExpectedGain()
          compute and return the current expected gain based on P, G, and C
 IReferences getFailures()
          at what times did this production's firing result in a failure
 double getP()
          compute the probability of success
 double getPriorEfforts()
          the number of prior attempts
 int getPriorFailures()
          the number of prior failures
 int getPriorSuccesses()
          the number of prior successes, (sans actual access times, often inherited from parents)
 IReferences getSuccesses()
          at what times did this production's firing result in a success
 void setC(double c)
          set the cost
 void setCreationCycle(int i)
          what production cycle was this production created during
 void setP(double p)
          set the probability of success
 void setPriorEfforts(double efforts)
          Sets the priorEfforts
 void setPriorFailures(int failures)
          Sets the priorFailures
 void setPriorSuccesses(int successes)
          Sets the priorSuccesses
 
Methods inherited from interface org.jactr.core.production.ISubsymbolicProduction
dispose, encode, getCreationTime, getFiringTime, setCreationTime, setFiringTime
 
Methods inherited from interface org.jactr.core.utils.parameter.IParameterized
getParameter, getPossibleParameters, getSetableParameters, setParameter
 

Field Detail

CREATION_CYCLE

static final java.lang.String CREATION_CYCLE
See Also:
Constant Field Values

SUCCESS

static final java.lang.String SUCCESS
See Also:
Constant Field Values

FAILURE

static final java.lang.String FAILURE
See Also:
Constant Field Values

P

static final java.lang.String P
Description of the Field

See Also:
Constant Field Values

C

static final java.lang.String C
Description of the Field

See Also:
Constant Field Values

EFFORT_COUNT

static final java.lang.String EFFORT_COUNT
Description of the Field

See Also:
Constant Field Values

EFFORT_TIMES

static final java.lang.String EFFORT_TIMES
Description of the Field

See Also:
Constant Field Values

PRIOR_SUCCESSES

static final java.lang.String PRIOR_SUCCESSES
Description of the Field

See Also:
Constant Field Values

PRIOR_FAILURES

static final java.lang.String PRIOR_FAILURES
Description of the Field

See Also:
Constant Field Values

PRIOR_EFFORTS

static final java.lang.String PRIOR_EFFORTS
Description of the Field

See Also:
Constant Field Values

SUCCESS_COUNT

static final java.lang.String SUCCESS_COUNT
Description of the Field

See Also:
Constant Field Values

SUCCESS_TIMES

static final java.lang.String SUCCESS_TIMES
Description of the Field

See Also:
Constant Field Values

FAILURE_COUNT

static final java.lang.String FAILURE_COUNT
Description of the Field

See Also:
Constant Field Values

FAILURE_TIMES

static final java.lang.String FAILURE_TIMES
Description of the Field

See Also:
Constant Field Values

GAIN

static final java.lang.String GAIN
Description of the Field

See Also:
Constant Field Values

REFERENCE_TIMES

static final java.lang.String REFERENCE_TIMES
Description of the Field

See Also:
Constant Field Values

REFERENCE_COUNT

static final java.lang.String REFERENCE_COUNT
Description of the Field

See Also:
Constant Field Values
Method Detail

getCreationCycle

int getCreationCycle()
what production cycle was this production created during


setCreationCycle

void setCreationCycle(int i)
what production cycle was this production created during


getSuccesses

IReferences getSuccesses()
at what times did this production's firing result in a success


getFailures

IReferences getFailures()
at what times did this production's firing result in a failure


getEfforts

IReferences getEfforts()

getPriorSuccesses

int getPriorSuccesses()
the number of prior successes, (sans actual access times, often inherited from parents)


getPriorFailures

int getPriorFailures()
the number of prior failures


getPriorEfforts

double getPriorEfforts()
the number of prior attempts


setPriorSuccesses

void setPriorSuccesses(int successes)
Sets the priorSuccesses


setPriorFailures

void setPriorFailures(int failures)
Sets the priorFailures


setPriorEfforts

void setPriorEfforts(double efforts)
Sets the priorEfforts


getExpectedGain

double getExpectedGain()
compute and return the current expected gain based on P, G, and C


getP

double getP()
compute the probability of success


getC

double getC()
get the cost of firing the production


setP

void setP(double p)
set the probability of success


setC

void setC(double c)
set the cost