SequenceRegInfo

Source: SequenceReg.js:168

This object stores the global results of a SequenceReg


Constructor

new SequenceRegInfo( sqReg: module:report/SequenceReg.SequenceReg, ): SequenceRegInfo

SequenceRegInfo constructor

Parameters


Instance Methods

clear()

Clears all global data associated with this sequence

recalc(): module:report/SequenceReg.SequenceRegInfo

Computes the value of all global variables based on the data stored in activities

Returns

Instance Fields

sqReg: module:report/SequenceReg.SequenceReg

The SequenceReg associated to this "info" object

valid: boolean

When false, data must be recalculated

nActivities: number

Number of activities played in this sequence

nActClosed: number

Number of activities already closed

nActSolved: number

Number of activities solved

nActScore: number

Number of activities with score > 0

ratioSolved: number

Percentage of solved activities

nActions: number

Number of actions done by the user while in this sequence

tScore: number

Sum of the scores of all the activities played

tTime: number

Sum of the playing time reported by each activity (not always equals to the sequence's total time)