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

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

#include <OSInstance.h>

Collaboration diagram for Objective:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

std::string name
 the name of the objective function More...
 
std::string maxOrMin
 declare the objective function to be a max or a min More...
 
double constant
 constant is the constant term added to the objective function, 0 by default More...
 
double weight
 weight is the weight applied to the given objective function, 1.0 by default More...
 
int numberOfObjCoef
 numberOfObjCoef is the number of variables with a nonzero objective function coefficient More...
 
ObjCoef ** coef
 coef is pointer to an array of ObjCoef object pointers More...
 

Detailed Description

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

Definition at line 141 of file OSInstance.h.

Constructor & Destructor Documentation

Objective::Objective ( )

The Objective class constructor.

Definition at line 624 of file OSInstance.cpp.

Objective::~Objective ( )

The Objective class destructor.

Definition at line 638 of file OSInstance.cpp.

Objective::Objective ( )

The Objective class constructor.

Objective::~Objective ( )

The Objective class destructor.

Member Function Documentation

bool Objective::IsEqual ( Objective that)

A function to check for the equality of two objects.

Definition at line 8252 of file OSInstance.cpp.

Member Data Documentation

std::string Objective::name

the name of the objective function

Definition at line 152 of file OSInstance.h.

std::string Objective::maxOrMin

declare the objective function to be a max or a min

Definition at line 157 of file OSInstance.h.

double Objective::constant

constant is the constant term added to the objective function, 0 by default

Definition at line 162 of file OSInstance.h.

double Objective::weight

weight is the weight applied to the given objective function, 1.0 by default

Definition at line 167 of file OSInstance.h.

int Objective::numberOfObjCoef

numberOfObjCoef is the number of variables with a nonzero objective function coefficient

Definition at line 172 of file OSInstance.h.

ObjCoef ** Objective::coef

coef is pointer to an array of ObjCoef object pointers

Definition at line 176 of file OSInstance.h.


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