package modules.gradient;

import utils.*;
import simulator.*;
import java.util.*;

public interface PropagationTestExt extends PropagationTest {
  // called with the gradient in question and the processor state
  // returns true if the gradient should instantiate on this processor,
  // and false if it shouldn't
  // the extended call gets an additional argument, the originating processor 
  public boolean propagate(Gradient g, PortedProcessor pp, Object srcID);

  //public boolean propagate(Gradient g, PortedProcessor pp) {
  //  return propagate(g,pp,null);
  //}
}
