Public Member Functions | Public Attributes | List of all members
Constraint Class Reference

The in-memory representation of the <con> element. More...

#include <OSInstance.h>

Collaboration diagram for Constraint:
Collaboration graph
[legend]

Public Member Functions

 Constraint ()
 The Constraint class constructor. More...
 
 ~Constraint ()
 The Constraint class destructor. More...
 
bool IsEqual (Constraint *that)
 A function to check for the equality of two objects. More...
 
 Constraint ()
 The Constraint class constructor. More...
 
 ~Constraint ()
 The Constraint class destructor. More...
 

Public Attributes

std::string name
 name is the name of the constraint More...
 
double constant
 constant is a value that is added to the constraint More...
 
double lb
 lb is the lower bound on the constraint More...
 
double ub
 ub is the upper bound on the constraint More...
 

Detailed Description

The in-memory representation of the <con> element.

Definition at line 218 of file OSInstance.h.

Constructor & Destructor Documentation

Constraint::Constraint ( )

The Constraint class constructor.

Definition at line 685 of file OSInstance.cpp.

Constraint::~Constraint ( )

The Constraint class destructor.

Definition at line 697 of file OSInstance.cpp.

Constraint::Constraint ( )

The Constraint class constructor.

Constraint::~Constraint ( )

The Constraint class destructor.

Member Function Documentation

bool Constraint::IsEqual ( Constraint that)

A function to check for the equality of two objects.

Definition at line 8383 of file OSInstance.cpp.

Member Data Documentation

std::string Constraint::name

name is the name of the constraint

Definition at line 229 of file OSInstance.h.

double Constraint::constant

constant is a value that is added to the constraint

Definition at line 232 of file OSInstance.h.

double Constraint::lb

lb is the lower bound on the constraint

Definition at line 235 of file OSInstance.h.

double Constraint::ub

ub is the upper bound on the constraint

Definition at line 238 of file OSInstance.h.


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