org.activemath.content.metadata
Class CognitiveProcess

java.lang.Object
  extended by org.activemath.content.metadata.MetadataConstant
      extended by org.activemath.content.metadata.CognitiveProcess
Direct Known Subclasses:
AMProcess, BLOOMProcess, MathBridgeProcess, PISAProcess

public abstract class CognitiveProcess
extends MetadataConstant

This class provides access to cognitive processes. The basic idea is that a pair of cognitive process (p) and knowledge element (k) define a competency (c): c = (p, k)


Field Summary
protected  Map<CompetencySystem,Map<CognitiveProcess,Double>> mappings
           
 
Fields inherited from class org.activemath.content.metadata.MetadataConstant
log
 
Constructor Summary
protected CognitiveProcess(String id)
           
 
Method Summary
 void addMapping(CompetencySystem target_system, CognitiveProcess target_process, double weight)
          Register that this process maps to the specified "target_process" of another competency system "target_system" with the specified weight.
 boolean equals(Object cmp)
           
 int hashCode()
           
 Map<CognitiveProcess,Double> mapTo(CompetencySystem target)
          Maps this process to another set of processes belonging to a target competency system.
 
Methods inherited from class org.activemath.content.metadata.MetadataConstant
toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

mappings

protected Map<CompetencySystem,Map<CognitiveProcess,Double>> mappings
Constructor Detail

CognitiveProcess

protected CognitiveProcess(String id)
Method Detail

mapTo

public Map<CognitiveProcess,Double> mapTo(CompetencySystem target)
Maps this process to another set of processes belonging to a target competency system.

Parameters:
target - The competency system to map to.
Returns:
A weighted mapping from this cognitive process to the cognitive processes of another competency system. Might be an empty map.

addMapping

public void addMapping(CompetencySystem target_system,
                       CognitiveProcess target_process,
                       double weight)
Register that this process maps to the specified "target_process" of another competency system "target_system" with the specified weight.

Parameters:
target_system -
target_process -
weight -

equals

public boolean equals(Object cmp)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object