ps4
Interface Simulatable

All Known Implementing Classes:
Filter, Pipe

public interface Simulatable

The Simulatable interface is implemented by each of the pipes and filters in a pipe-and-filter simulation.


Method Summary
 void simulate(BipartiteGraph graph, double timeSlice)
           
 

Method Detail

simulate

public void simulate(BipartiteGraph graph,
                     double timeSlice)
Parameters:
graph - Graph of pipe-and-filter system
timeSlice - Length of time slice, in seconds
Requires:
timeSlice > 0
Effects:
Simulates this pipe or filter for the length of time given by timeSlice.
Modifies:
this