edu.brook.ascape.rule
Class PropogateScapeOnly

java.lang.Object
  |
  +--edu.brook.ascape.model.AscapeObject
        |
        +--edu.brook.ascape.rule.Rule
              |
              +--edu.brook.ascape.rule.Propogate
                    |
                    +--edu.brook.ascape.rule.PropogateScapeOnly
Direct Known Subclasses:
NotifyViews

public class PropogateScapeOnly
extends Propogate

A rule that executes on the target scape, and any member scapes of the target scape. Typically used for scape control.

Since:
1.0
Version:
1.0 3/22/99
See Also:
Serialized Form

Fields inherited from class edu.brook.ascape.model.AscapeObject
ARBITRARY_SEED, count, name, scape
 
Constructor Summary
PropogateScapeOnly()
          Constructs a Propogate rule.
PropogateScapeOnly(java.lang.String name)
          Constructs a propogate rule with the provided name.
 
Method Summary
 boolean isScapeOnly()
          Returns true, of course.
 
Methods inherited from class edu.brook.ascape.rule.Propogate
execute, isRandomExecution
 
Methods inherited from class edu.brook.ascape.rule.Rule
getScape, isCauseRemoval, isIterateAll, setScape
 
Methods inherited from class edu.brook.ascape.model.AscapeObject
clone, getName, getRandom, getRandomSeed, randomInRange, randomInRange, randomIs, randomToLimit, reseed, setName, setRandom, setRandomSeed, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropogateScapeOnly

public PropogateScapeOnly()
Constructs a Propogate rule.

PropogateScapeOnly

public PropogateScapeOnly(java.lang.String name)
Constructs a propogate rule with the provided name. It is strongly encouraged to provide a name for all rules.
Parameters:
name - the name of this object
Method Detail

isScapeOnly

public boolean isScapeOnly()
Returns true, of course.
Overrides:
isScapeOnly in class Propogate

(c) 1998-2000 The Brookings Insitution
Webpage