kodkod.engine.config
Class AbstractReporter

java.lang.Object
  extended by kodkod.engine.config.AbstractReporter
All Implemented Interfaces:
Reporter

public abstract class AbstractReporter
extends java.lang.Object
implements Reporter

A skeleton implementation of the Reporter interface. The default implementation for each method has an empty body.s

Author:
Emina Torlak

Method Summary
 void flattening(BooleanFormula circuit)
          Reports that the stage 5 of the analysis is being performed on the given boolean formula.
 void generatingSBP()
          Reports that the analysis is in stage 4.
 void optimizingBounds()
          Reports that bounds optimization is in progress (stage 1).
 void optimizingFormula()
          Reports that formula optimization is in progress (stage 2).
 void skolemizing(Decl decl, Relation skolem, java.util.List<Decl> context)
          Reports that the given declaration is being skolemized using the given skolem relation.
 void solvingCNF(int primaryVars, int vars, int clauses)
          Reports that the cnf generated in stage 7, consisting of the given number of variables and clauses, is being analyzed by a sat solver (stage 8 of the analysis).
 void translatingToBoolean(Formula formula, Bounds bounds)
          Reports that the analysis of the given (optimized) formula and bounds is in stage 3.
 void translatingToCNF(BooleanFormula circuit)
          Reports that the given (optimized) circuit is being translated to CNF (stage 6 of the analysis).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

generatingSBP

public void generatingSBP()
Description copied from interface: Reporter
Reports that the analysis is in stage 4.

Specified by:
generatingSBP in interface Reporter
See Also:
Reporter.generatingSBP()

flattening

public void flattening(BooleanFormula circuit)
Description copied from interface: Reporter
Reports that the stage 5 of the analysis is being performed on the given boolean formula.

Specified by:
flattening in interface Reporter
See Also:
Reporter.flattening(kodkod.engine.bool.BooleanFormula)

skolemizing

public void skolemizing(Decl decl,
                        Relation skolem,
                        java.util.List<Decl> context)
Reports that the given declaration is being skolemized using the given skolem relation. The context list contains non-skolemizable quantified declarations on which the given decl depends, in the order of declaration (most recent decl is last in the list).

Specified by:
skolemizing in interface Reporter
See Also:
Reporter.skolemizing(kodkod.ast.Decl, kodkod.ast.Relation, java.util.List)

solvingCNF

public void solvingCNF(int primaryVars,
                       int vars,
                       int clauses)
Description copied from interface: Reporter
Reports that the cnf generated in stage 7, consisting of the given number of variables and clauses, is being analyzed by a sat solver (stage 8 of the analysis).

Specified by:
solvingCNF in interface Reporter
See Also:
Reporter.solvingCNF(int, int, int)

optimizingFormula

public void optimizingFormula()
Description copied from interface: Reporter
Reports that formula optimization is in progress (stage 2).

Specified by:
optimizingFormula in interface Reporter
See Also:
Reporter.optimizingFormula()

optimizingBounds

public void optimizingBounds()
Description copied from interface: Reporter
Reports that bounds optimization is in progress (stage 1).

Specified by:
optimizingBounds in interface Reporter
See Also:
Reporter.optimizingBounds()

translatingToBoolean

public void translatingToBoolean(Formula formula,
                                 Bounds bounds)
Description copied from interface: Reporter
Reports that the analysis of the given (optimized) formula and bounds is in stage 3. The given bounds are not mutated.

Specified by:
translatingToBoolean in interface Reporter
See Also:
Reporter.translatingToBoolean(kodkod.ast.Formula, kodkod.instance.Bounds)

translatingToCNF

public void translatingToCNF(BooleanFormula circuit)
Description copied from interface: Reporter
Reports that the given (optimized) circuit is being translated to CNF (stage 6 of the analysis).

Specified by:
translatingToCNF in interface Reporter
See Also:
Reporter.translatingToCNF(kodkod.engine.bool.BooleanFormula)