Random Class Reference

#include <subgradopt.h>

Inheritance diagram for Random:
Inheritance graph
[legend]
Collaboration diagram for Random:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Random (DualFunc &f, vector< double > lower_bound_, Param &param_, Pointer< ostream > out_solver_p_=out_out_p, Pointer< ostream > out_solver_log_p_=out_log_p)
 Constructor for a function, the lower bounds and parameters.
int solve (dvector &z)
 Solves the problem for a starting point.
int solve ()
 Solves the problem.

Private Attributes

double dispersion

Detailed Description

Definition at line 62 of file subgradopt.h.


Constructor & Destructor Documentation

Random::Random ( DualFunc f,
vector< double >  lower_bound_,
Param param_,
Pointer< ostream >  out_solver_p_ = out_out_p,
Pointer< ostream >  out_solver_log_p_ = out_log_p 
) [inline]

Constructor for a function, the lower bounds and parameters.

Parameters:
f The function, to optimize.
lower_bound_ The lower bounds of the variables.
param Some parameters.
out_solver_p_ A Pointer to an ostream to print solver relevant output to.
out_solver_log_p A Pointer to an ostream to print solver relevant logging output to.

Definition at line 74 of file subgradopt.h.


Member Function Documentation

int Random::solve ( dvector x  )  [inline, virtual]

Solves the problem for a starting point.

Sets sol_point to x. Calls solve().

Parameters:
x The dvector to start the solver with.
See also:
solve()

Reimplemented from Solver.

Definition at line 80 of file subgradopt.h.

int Random::solve (  )  [virtual]

Solves the problem.

Abstract.

Returns:
A status code: 0, if all went right.
See also:
solve(dvector&)

Implements Solver.


Member Data Documentation

double Random::dispersion [private]

Definition at line 64 of file subgradopt.h.


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

Generated on 10 Mar 2013 for LaGO by  doxygen 1.6.1