public static double calculateChange(Vector valueVector,
int iterations);
This function will calculate the current amount by which
either the condition or boundary value will change at the present
iteration of the infinite loop.
Does an in-order traversal of the view tree (to preserve left to right order)
and adds leaf operators to operatorView, and leaf operands to operandView
Does an in-order traversal of the view tree (to preserve left to right order)
and adds leaf operators to operatorView, and leaf operands to operandView
CodeSegmentAttempt
Records one attempt of the student to answer one segment of the code;
Maintains the correct answer for the attempt, and tutor's explanation of the grading.
Problem sequencer to help students learn till competent -
picks the problems applicable to the learning objectives
presents them in "appropriate" order
This is different from CompetenceProblemSequencer in the following ways:
1) It does not generate more than a fixed number of templates for a learning objective
Set BaseLearnObjSelector.maxProblems
2) It can select learning objectives sequentially or randomly -
Set BaseLearnObjSelector.sequenceType
3) It can select templates for a learning objective sequentially or randomly -
Set BaseTemplateSelector.sequenceType
3) When templates are generated randomly, it avoids duplicates within the last n/2
problems, n being the size of the template list.
Given a node (NodeModel) in ForestModel and the corresponding node (KnowledgeUnit)
in student's KnowledgeModel, makes a StatusProvider reference from the NodeModel
to the KnowledgeUnit.
Returns true if the expression contains the operator, and false otherwise -
Used by ExpressionViewExpert to generate explanation that LHS of &&/|| is evaluated
before RHS.
content -
Variable in class org.problets.domain.knowledge.CloneTest
Converts an node full name in a text version (period-delimited)
to a vector fomat (with each ancestor an element in the
vector followed by the node name itself).