PathMonitor

scalation.optimization.PathMonitor
trait PathMonitor

The PathMonitor trait specifies the logic needed to monitor a single path taken in a multidimensional graph.

Classes mixing in this trait should call the clearPath method before beginning to monitor a path and then should call the add2Path method whenever a new data point is produced in the path being monitored. After that, a call to the getPath method will return a deep copy of the path that was monitored throughout the calculations.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BFGS
object DM_LBFGS
object LBFGS

Members list

Value members

Concrete methods

def add2Path(x: VectorD): Unit

Adds a new multidimensional point to the path being monitored.

Adds a new multidimensional point to the path being monitored.

Value parameters

x

the data point to be added to the path being monitored.

Attributes

def clearPath(): Unit

Clears the current path being monitored.

Clears the current path being monitored.

Attributes

def getPath: ArrayBuffer[VectorD]

Returns a deep copy of the data path being monitored.

Returns a deep copy of the data path being monitored.

Attributes

Returns

ArrayBuffern [VectorD], a deep copy of the data path being monitored.