SandMark version 3.0


sandmark.obfuscate.loop
Class DependencyMap

java.lang.Object
  |
  +--sandmark.obfuscate.loop.DependencyMap

public class DependencyMap
extends java.lang.Object


Constructor Summary
DependencyMap(java.util.ArrayList allAlgs)
           
 
Method Summary
 void computeNewCandidates(Algorithm candidate, ApplicationObject target)
          Performs the dependency computations on the candidate sets necessary when an algorithm is run.
 java.util.ArrayList getAlgsForProp(RequisiteProperty prop)
          Returns a list of all algorithms which have the property in question.
 java.util.ArrayList getCurrentIterationPool(ApplicationObject target)
          Narrows the list of algorithm candidates for an object to a list of algorithms that can be run on this iteration.
static java.util.ArrayList getMutationProps(Algorithm alg)
           
 java.util.ArrayList getPostprohibitors(RequisiteProperty prop)
          Returns a list of all algorithms which postprohibit the property in question.
 java.util.ArrayList getPostrequisiters(RequisiteProperty prop)
          Returns a list of all algorithms which postrequire the property in question.
 java.util.ArrayList getPreprohibitors(RequisiteProperty prop)
          Returns a list of all algorithms which preprohibit the property in question.
 java.util.ArrayList getPrerequisiters(RequisiteProperty prop)
          Returns a list of all algorithms which prerequire the property in question.
 java.lang.String mutationsDot()
           
 void removeFromAlgList(java.util.Collection toRemove, java.util.Collection algList, java.util.Collection filledReqs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DependencyMap

public DependencyMap(java.util.ArrayList allAlgs)
Method Detail

getPrerequisiters

public java.util.ArrayList getPrerequisiters(RequisiteProperty prop)
Returns a list of all algorithms which prerequire the property in question.


getPostrequisiters

public java.util.ArrayList getPostrequisiters(RequisiteProperty prop)
Returns a list of all algorithms which postrequire the property in question.


getPreprohibitors

public java.util.ArrayList getPreprohibitors(RequisiteProperty prop)
Returns a list of all algorithms which preprohibit the property in question.


getPostprohibitors

public java.util.ArrayList getPostprohibitors(RequisiteProperty prop)
Returns a list of all algorithms which postprohibit the property in question.


getAlgsForProp

public java.util.ArrayList getAlgsForProp(RequisiteProperty prop)
Returns a list of all algorithms which have the property in question.


getMutationProps

public static java.util.ArrayList getMutationProps(Algorithm alg)

removeFromAlgList

public void removeFromAlgList(java.util.Collection toRemove,
                              java.util.Collection algList,
                              java.util.Collection filledReqs)

computeNewCandidates

public void computeNewCandidates(Algorithm candidate,
                                 ApplicationObject target)
Performs the dependency computations on the candidate sets necessary when an algorithm is run.

Parameters:
candidate - the algorithm run
target - the ApplicationObject that the target was run on

getCurrentIterationPool

public java.util.ArrayList getCurrentIterationPool(ApplicationObject target)
Narrows the list of algorithm candidates for an object to a list of algorithms that can be run on this iteration.

Parameters:
target - the object to narrow the candidates for

mutationsDot

public java.lang.String mutationsDot()

SandMark version 3.0

Wed Jan 29 10:30:05 MST 2003