Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

mcSimplifySolver Class Reference

#include <GenericSolver.h>

Inheritance diagram for mcSimplifySolver:

Inheritance graph
[legend]
Collaboration diagram for mcSimplifySolver:

Collaboration graph
[legend]
List of all members.

Detailed Description

Just uses the mcElement::math_Simplify command until it returns mcESR_DONE.

Definition at line 47 of file GenericSolver.h.

Public Member Functions

 mcSimplifySolver ()
virtual ~mcSimplifySolver ()
bool math_SolveLine (mcMathLine &p, const mcSymbolProperties *unk, mcSystemStepArray &)
 Just uses the mcSolver::math_DoCompleteSimplification to fill the step array.
bool math_WorksOn (const mcMathOrSystem &m) const
 Returns TRUE if this algorithm can be applied on the given math system solving it for one of the mcSymbol contained registered as unknowns.
bool math_isReady () const
 Returns TRUE if this solver is ready to work.
wxPanel * gui_GetOptionsPanel () const
 Returns the panel containing the options for this algorithm.


Constructor & Destructor Documentation

mcSimplifySolver::mcSimplifySolver  )  [inline]
 

Definition at line 50 of file GenericSolver.h.

References mcST_SIMPLIFY.

virtual mcSimplifySolver::~mcSimplifySolver  )  [inline, virtual]
 

Definition at line 56 of file GenericSolver.h.


Member Function Documentation

wxPanel* mcSimplifySolver::gui_GetOptionsPanel  )  const [inline, virtual]
 

Returns the panel containing the options for this algorithm.

The returned pointer must be deleted by the caller, when it is not required anymore... If the returned value is NULL, no options are available for this solver.

Implements mcSolver.

Definition at line 65 of file GenericSolver.h.

bool mcSimplifySolver::math_isReady  )  const [inline, virtual]
 

Returns TRUE if this solver is ready to work.

This function can be used to check if all the options/settings for this solver have been correctly set and the #Solve() function will correctly work (on a system where #WorksOn returns TRUE).

Implements mcSolver.

Definition at line 63 of file GenericSolver.h.

bool mcSimplifySolver::math_SolveLine mcMathLine p,
const mcSymbolProperties unk,
mcSystemStepArray
[virtual]
 

Just uses the mcSolver::math_DoCompleteSimplification to fill the step array.

Implements mcSolver.

Definition at line 60 of file GenericSolver.cpp.

References mcSolver::math_DoCompleteSimplification(), mcEXPSIM_NOFLAGS, mcSOLVERLOG, and mcTXTP.

bool mcSimplifySolver::math_WorksOn const mcMathOrSystem m  )  const [inline, virtual]
 

Returns TRUE if this algorithm can be applied on the given math system solving it for one of the mcSymbol contained registered as unknowns.

Note:
This function does not take a mcSymbolProperties which indicates the unknown to solve for.because the unknown to solve for will be decided by math_PreSolve, _after_ this function has been called.

Implements mcSolver.

Definition at line 61 of file GenericSolver.h.


The documentation for this class was generated from the following files:

Documentation generated with Doxygen on Sun Feb 6 17:13:10 2005
Visit MathStudio home page for more info

[ Top ]