OpenNN
Open-source neural networks library
Loading...
Searching...
No Matches
opennn::ResponseOptimization::Condition Struct Reference

Constraint or objective imposed on a single variable, with optional bounds. More...

#include <response_optimization.h>

Public Member Functions

 Condition (ConditionType new_type=ConditionType::None, float new_low_bound=0.0, float new_up_bound=0.0)
 Builds a condition of the given type with the given bounds.
 

Public Attributes

ConditionType condition
 
float low_bound
 
float up_bound
 

Detailed Description

Constraint or objective imposed on a single variable, with optional bounds.

Constructor & Destructor Documentation

◆ Condition()

opennn::ResponseOptimization::Condition::Condition ( ConditionType new_type = ConditionType::None,
float new_low_bound = 0.0,
float new_up_bound = 0.0 )
inline

Builds a condition of the given type with the given bounds.

Member Data Documentation

◆ condition

ConditionType opennn::ResponseOptimization::Condition::condition

◆ low_bound

float opennn::ResponseOptimization::Condition::low_bound

◆ up_bound

float opennn::ResponseOptimization::Condition::up_bound