Class inria.meije.rc.sugarcubes.AndConfig
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class inria.meije.rc.sugarcubes.AndConfig

java.lang.Object
   |
   +----inria.meije.rc.sugarcubes.Config
           |
           +----inria.meije.rc.sugarcubes.BinaryConfig
                   |
                   +----inria.meije.rc.sugarcubes.AndConfig

public class AndConfig
extends BinaryConfig
Configuration conjunction (and).

Constructor Index

 o AndConfig(Config, Config)

Method Index

 o evaluate(Machine)
Evaluates the configuration.
 o fixed(Machine)
A conjunction is fixed as soon as one component is fixed and evaluates to false: the other one does not need to be also fixed.
 o toString()

Constructors

 o AndConfig
  public AndConfig(Config c1,
                   Config c2)

Methods

 o toString
  public String toString()
Overrides:
toString in class Object
 o fixed
  public boolean fixed(Machine machine)
A conjunction is fixed as soon as one component is fixed and evaluates to false: the other one does not need to be also fixed.
Overrides:
fixed in class Config
 o evaluate
  public boolean evaluate(Machine machine)
Evaluates the configuration.
Overrides:
evaluate in class Config

All Packages  Class Hierarchy  This Package  Previous  Next  Index