kodkod.engine.config
Class ConsoleReporter

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

public final class ConsoleReporter
extends java.lang.Object
implements Reporter

An implementation of the reporter interface that prints messages to the standard output stream.

Author:
Emina Torlak

Constructor Summary
ConsoleReporter()
          Constructs a new instance of the ConsoleReporter.
 
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).
 java.lang.String toString()
           
 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, wait, wait, wait
 

Constructor Detail

ConsoleReporter

public ConsoleReporter()
Constructs a new instance of the ConsoleReporter.

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)

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()

optimizingFormula

public void optimizingFormula()
Reports that formula optimization is in progress (stage 2).

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

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)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()