jitas.core
Class DefaultSelectionAlgorithm
java.lang.Object
jitas.core.DefaultSelectionAlgorithm
- All Implemented Interfaces:
- ProblemSelectionAlgorithm
public class DefaultSelectionAlgorithm
- extends java.lang.Object
- implements ProblemSelectionAlgorithm
Compute a Problem object by the JITAS system default algorithm.
- Version:
- 08 October 2007
- Author:
- DeathMarch (c314g2)
Method Summary |
Problem |
getNextProblem(Student student,
Domain domain,
java.util.SortedMap<java.lang.Integer,Problem> problems,
java.lang.String subdomainName)
Return a Problem object that has been calculated by the default algorithm |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSelectionAlgorithm
public DefaultSelectionAlgorithm()
getNextProblem
public Problem getNextProblem(Student student,
Domain domain,
java.util.SortedMap<java.lang.Integer,Problem> problems,
java.lang.String subdomainName)
- Return a Problem object that has been calculated by the default algorithm
- Specified by:
getNextProblem
in interface ProblemSelectionAlgorithm
- Parameters:
student
- The studentdomain
- The Domainproblems
- The problems to choose fromsubdomainName
- The name of the subdomain
- Returns:
- The Problem selected by the system