Jive reference manual
List of all members | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
jive::solver::DirectVerboseSolver Class Reference

#include <jive/solver/VerboseSolver.h>

Inheritance diagram for jive::solver::DirectVerboseSolver:
Inheritance graph

Public Member Functions

 DirectVerboseSolver (const String &name, Ref< DirectSolver > solver, const Ref< Printer > &out=NIL)
 
- Public Member Functions inherited from jive::solver::VerboseSolver
 VerboseSolver (const String &name, const Ref< Solver > &solver, const Ref< Printer > &out=NIL)
 
virtual void improve (const Vector &lhs, const Vector &rhs)
 
virtual void getInfo (const Properties &info) const
 
virtual void configure (const Properties &props)
 
virtual void getConfig (const Properties &props) const
 
virtual void setMode (int mode)
 
virtual int getMode () const
 
virtual void setPrecision (double eps)
 
virtual double getPrecision () const
 
virtual AbstractMatrix * getMatrix () const
 
virtual Constraints * getConstraints () const
 
void setPrintInterval (double dt)
 
double getPrintInterval () const
 
void setNoiseLevel (int nlevel)
 
int getNoiseLevel () const
 
- Public Member Functions inherited from jive::solver::Solver
virtual void solve (const Vector &lhs, const Vector &rhs)=0
 Computes the solution of a linear system of equations. More...
 
virtual void configure (const Properties &conf, const Properties &props)
 Configures this solver given a set of properties. More...
 
virtual jem::Class * getClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
- Public Member Functions inherited from jem::Object
virtual String toString () const
 Returns a short textual description of this object. More...
 
virtual long hashValue () const
 Returns a hash value for this object. More...
 
virtual bool equals (const Ref< Object > &obj) const
 Tests whether two objects are equal. More...
 
Ref< Object > clone () const
 Returns a copy of this object. More...
 

Protected Types

enum  Phase_ {
  INACTIVE_,
  FACTORING_,
  SOLVING_
}
 

Protected Member Functions

virtual ~DirectVerboseSolver ()
 
virtual void begin_ ()
 
virtual void end_ ()
 
- Protected Member Functions inherited from jive::solver::VerboseSolver
virtual ~VerboseSolver ()
 
- Protected Member Functions inherited from jive::solver::Solver
virtual ~Solver ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 

Protected Attributes

Ref< DirectSolver > solver_
 
Phase_ phase_
 
idx_t zeroPivotCount_
 
- Protected Attributes inherited from jive::solver::VerboseSolver
Ref< Solver > solver_
 
String solverName_
 
Ref< Printer > output_
 
double printInterval_
 
int noiseLevel_
 
jem::util::Timer timer_
 
double lastTime_
 

Additional Inherited Members

- Public Types inherited from jive::solver::VerboseSolver
typedef PrintWriter Printer
 
- Public Types inherited from jive::solver::Solver
typedef jem::util::Properties Properties
 A type representing a set of properties. More...
 
typedef util::Vector Vector
 A type that represents a vector. More...
 
- Static Public Member Functions inherited from jive::solver::VerboseSolver
static Ref< Solver > makeNew (const String &name, const Properties &conf, const Properties &props, const Properties &params, const Properties &globdat)
 
static void declare ()
 
- Static Public Member Functions inherited from jive::solver::Solver
static jem::Class * getType ()
 
- Static Public Member Functions inherited from jem::Object
static Class * getType ()
 Returns the Class instance representing the Object class. More...
 
- Static Public Attributes inherited from jive::solver::VerboseSolver
static const char * TYPE_NAME
 

Member Enumeration Documentation

Enumerator
INACTIVE_ 
FACTORING_ 
SOLVING_ 

Constructor & Destructor Documentation

jive::solver::DirectVerboseSolver::DirectVerboseSolver ( const String &  name,
Ref< DirectSolver >  solver,
const Ref< Printer > &  out = NIL 
)
virtual jive::solver::DirectVerboseSolver::~DirectVerboseSolver ( )
protectedvirtual

Member Function Documentation

virtual void jive::solver::DirectVerboseSolver::begin_ ( )
protectedvirtual

Reimplemented from jive::solver::VerboseSolver.

virtual void jive::solver::DirectVerboseSolver::end_ ( )
protectedvirtual

Reimplemented from jive::solver::VerboseSolver.

Member Data Documentation

Ref<DirectSolver> jive::solver::DirectVerboseSolver::solver_
protected
Phase_ jive::solver::DirectVerboseSolver::phase_
protected
idx_t jive::solver::DirectVerboseSolver::zeroPivotCount_
protected