Package org.olat.course.run.scoring

Examples of org.olat.course.run.scoring.ScoreAccounting


  private Map allTempMaps = new HashMap(4);
 
  public UserCourseEnvironmentImpl(IdentityEnvironment identityEnvironment, CourseEnvironment courseEnvironment) {
    this.courseEnvironment = courseEnvironment;
    this.identityEnvironment = identityEnvironment;
    this.scoreAccounting = new ScoreAccounting(this);
    this.conditionInterpreter = new ConditionInterpreter(this);
  }
View Full Code Here


  EditorUserCourseEnvironmentImpl(CourseEditorEnv courseEditorEnv){
    this.courseEditorEnv = courseEditorEnv;
    this.ci = new ConditionInterpreter(this);
    this.courseEditorEnv.setConditionInterpreter(ci);
    this.sa = new ScoreAccounting(this);
  }
View Full Code Here

    }

    /*
     * the real function evaluation which is used during run time
     */
    ScoreAccounting sa = getUserCourseEnv().getScoreAccounting();
    Float score = sa.evalScoreOfCourseNode(childId);
    Double dscore = new Double(score.doubleValue());
    return dscore;
  }
View Full Code Here

    }

    /*
     * the real function evaluation which is used during run time
     */
    ScoreAccounting sa = getUserCourseEnv().getScoreAccounting();
    Boolean passed = sa.evalPassedOfCourseNode(childId);
    return (passed.booleanValue() ? ConditionInterpreter.INT_TRUE : ConditionInterpreter.INT_FALSE);
  }
View Full Code Here

TOP

Related Classes of org.olat.course.run.scoring.ScoreAccounting

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.