report/SequenceReg. SequenceRegInfo

This object stores the global results of a SequenceReg

Constructor

new SequenceRegInfo(sqReg)

SequenceRegInfo constructor

Parameters:
NameTypeDescription
sqRegmodule:report/SequenceReg.SequenceReg

The SequenceReg associated tho this Info object.

Members

nActClosed :number

Number of activities already closed

Type:
  • number

nActScore :number

Number of activities with score > 0

Type:
  • number

nActSolved :number

Number of activities solved

Type:
  • number

nActions :number

Number of actions done by the user while in this sequence

Type:
  • number

nActivities :number

Number of activities played in this sequence

Type:
  • number

ratioSolved :number

Percentage of solved activities

Type:
  • number

sqReg :module:report/SequenceReg.SequenceReg

The SequenceReg associated to this "info" object

tScore :number

Sum of the scores of all the activities played

Type:
  • number

tTime :number

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

Type:
  • number

valid :boolean

When false, data must be recalculated

Type:
  • boolean

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:
  • This "info" object
Type: 
module:report/SequenceReg.SequenceRegInfo