org.activemath.studentmodel2
Class PropagationHelper

java.lang.Object
  extended by org.activemath.studentmodel2.PropagationHelper

public class PropagationHelper
extends Object


Field Summary
protected static Category log
           
 
Method Summary
 Set<String> getFors(String conceptId)
          Get the Set of directly dependent concepts for a given concept
static PropagationHelper getInstance()
           
 Set<String> getPrerequisites(String conceptId)
          Get the prerequisites for a specific concept
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static Category log
Method Detail

getInstance

public static PropagationHelper getInstance()

getFors

public Set<String> getFors(String conceptId)
Get the Set of directly dependent concepts for a given concept

Parameters:
conceptId - - the mbaseId of the concept
Returns:
A Set of direct fors

getPrerequisites

public Set<String> getPrerequisites(String conceptId)
Get the prerequisites for a specific concept

Parameters:
conceptId -
Returns:
- The direct prerequisites to a concept