Gnm.SolverIterator

g GObject.Object GObject.Object Gnm.SolverIterator Gnm.SolverIterator GObject.Object->Gnm.SolverIterator

Subclasses:

Gnm.SolverIteratorCompound

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new_gradient (isol)

class

new_polish (isol)

iterate ()

Virtual Methods

Inherited:

GObject.Object (7)

do_iterate ()

Properties

None

Signals

Inherited:

GObject.Object (1)

Name

Short Description

iterate

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class Gnm.SolverIterator(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Gnm.SolverIteratorClass

classmethod new_gradient(isol)
Parameters:

isol (Gnm.IterSolver) – the solver to operate on

Returns:

an iterator object that can be used to perform a gradient descent step.

Return type:

Gnm.SolverIterator

classmethod new_polish(isol)
Parameters:

isol (Gnm.IterSolver) – the solver to operate on

Returns:

an iterator object that can be used to polish a solution by simple axis-parallel movement.

Return type:

Gnm.SolverIterator

iterate()
Return type:

bool

do_iterate() virtual
Return type:

bool

Signal Details

Gnm.SolverIterator.signals.iterate(solver_iterator)
Signal Name:

iterate

Flags:

RUN_LAST

Parameters:

solver_iterator (Gnm.SolverIterator) – The object which received the signal

Return type:

bool