MECO™ API Reference
Public Member Functions | List of all members
mMeco.abstract.solverAbs.SolverContainer Class Reference

[ CLASS ] - Solver container. More...

Inheritance diagram for mMeco.abstract.solverAbs.SolverContainer:

Public Member Functions

def __init__ (self)
 Constructor. More...
 
def solvers (self)
 Property. More...
 
def list (self)
 Get solvers. More...
 
def getByName (self, name)
 Get solver by given name. More...
 

Detailed Description

[ CLASS ] - Solver container.

Constructor & Destructor Documentation

◆ __init__()

def mMeco.abstract.solverAbs.SolverContainer.__init__ (   self)

Constructor.

Exceptions
N/A
Returns
None - None.

Member Function Documentation

◆ solvers()

def mMeco.abstract.solverAbs.SolverContainer.solvers (   self)

Property.

Exceptions
N/A
Returns
list of mMeco.abstract.solverAbs.Solver - Solvers.

◆ list()

def mMeco.abstract.solverAbs.SolverContainer.list (   self)

Get solvers.

Exceptions
AttributeError- If solver modules do not have Solver class.
Returns
list of mMeco.abstract.solverAbs.Solver - Solver class instances.

◆ getByName()

def mMeco.abstract.solverAbs.SolverContainer.getByName (   self,
  name 
)

Get solver by given name.

Parameters
name[ str | None | in ] - Name of the solver.
Exceptions
ValueError- If solver no solver found.
ValueError- If solver no solver found with given type.
Returns
mMeco.abstract.solverAbs.Solver - Solver class instances.

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