mapss.dif
Class DIFScheduleStrategy

java.lang.Object
  extended by mapss.dif.DIFScheduleStrategy
All Implemented Interfaces:
mocgraph.analysis.analyzer.Analyzer, mocgraph.analysis.analyzer.GraphAnalyzer, mocgraph.sched.ScheduleAnalyzer
Direct Known Subclasses:
APGANStrategy, DLCStrategy, DPPOStrategy, FlatStrategy, MCBStrategy, MinBufferStrategy, ProcedureStrategy, TwoNodeStrategy

public abstract class DIFScheduleStrategy
extends java.lang.Object
implements mocgraph.sched.ScheduleAnalyzer

An abstract class for all the scheduling strategies on DIF graphs. The associated graph must be an instance of DIFGraph.

Version:
$Id: DIFScheduleStrategy.java 409 2007-05-13 19:47:16Z plishker $
Author:
Mingyung Ko, Shuvra S. Bhattacharyya

Field Summary
protected  DIFClusterManager _clusterManager
          A class for managing hierarchical clustering.
 
Constructor Summary
DIFScheduleStrategy(DIFGraph graph)
          A constructor with a graph.
 
Method Summary
 DIFClusterManager getClusterManager()
          Get the manager for maintaining hierarchical graph clustering.
 mocgraph.Graph graph()
          Given a collection of nodes in a DIF graph, replace the subgraph /** Get the associated graph.
 mocgraph.sched.Schedule schedule()
          The schedule computation.
 java.lang.String toString()
          A description of the scheduler.
 boolean valid()
          Validity checking for certain DIFGraph schedulers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_clusterManager

protected DIFClusterManager _clusterManager
A class for managing hierarchical clustering.

Constructor Detail

DIFScheduleStrategy

public DIFScheduleStrategy(DIFGraph graph)
A constructor with a graph. The associated graph must be an instance of DIFGraph.

Method Detail

getClusterManager

public DIFClusterManager getClusterManager()
Get the manager for maintaining hierarchical graph clustering.

Returns:
The cluster manager.

graph

public mocgraph.Graph graph()
Given a collection of nodes in a DIF graph, replace the subgraph /** Get the associated graph. The graph is an instance of DIFGraph.

Specified by:
graph in interface mocgraph.analysis.analyzer.GraphAnalyzer
Returns:
The assocaited DIF graph.

schedule

public mocgraph.sched.Schedule schedule()
The schedule computation.

Specified by:
schedule in interface mocgraph.sched.ScheduleAnalyzer
Returns:
An empty schedule in the base scheduler.

toString

public java.lang.String toString()
A description of the scheduler.

Specified by:
toString in interface mocgraph.analysis.analyzer.Analyzer
Overrides:
toString in class java.lang.Object
Returns:
A brief description of the base scheduler.

valid

public boolean valid()
Validity checking for certain DIFGraph schedulers.

Specified by:
valid in interface mocgraph.analysis.analyzer.Analyzer
Returns:
True always in this base scheduler.