OP  0.1
OP is a optimization solver plugin package
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends
Public Types | Public Member Functions | Public Attributes | Protected Attributes | List of all members
op::WaitLoop Class Reference

#include <op_waitloop.hpp>

Public Types

using ConstraintActionFn = std::function< void(int)>
 
using UnknownActionFn = std::function< void(int)>
 

Public Member Functions

 final_obj_ (final_obj)
 
 comm_ (comm)
 
WaitLooponUpdate (const ActionFn &update)
 Set action to perform in Update state.
 
WaitLooponObjectiveGrad (const ActionFn &obj_grad)
 Set action to perform in Objective Grad state.
 
WaitLooponObjectiveEval (const ActionFn &obj_eval)
 Set action to perform in Objective Eval state.
 
WaitLooponConstraintsEval (const ConstraintActionFn &constraints_states)
 Set action to perform in Constraint Eval state.
 
WaitLooponConstraintsGrad (const ConstraintActionFn &constraints_grad_states)
 Set action to perform in Constraint Grad state.
 
WaitLooponSolution (const ActionFn &solution_state)
 Set action to perform in Solution state.
 
WaitLooponUnknown (const UnknownActionFn &unknown_state)
 Set action to perform in Unknown state.
 
void operator() ()
 

Public Attributes

 __pad0__: get_size_(get_size)
 Construct WaitLoop.
 

Protected Attributes

std::function< int()> get_size_
 
double & final_obj_
 
MPI_Comm comm_
 
ActionFn update_
 
ActionFn obj_grad_
 
ActionFn obj_eval_
 
ConstraintActionFn constraints_states_
 
ConstraintActionFn constraints_grad_states_
 
ActionFn solution_state_
 
UnknownActionFn unknown_state_
 

Detailed Description

A functor-pattern for serialOptimizer WaitLoops Follows the Fluent interface pattern

Definition at line 35 of file op_waitloop.hpp.


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