MeshKit  1.0
IASolverToolInt Class Reference

#include <IASolverToolInt.hpp>

Inheritance diagram for IASolverToolInt:

List of all members.

Public Member Functions

 IASolverToolInt ()
 IASolverToolInt (const bool debugging_set)
 IASolverToolInt (const IAData *ia_data, IASolution *ia_solution, bool debugging_set=false)
virtual ~IASolverToolInt ()
IPDataip_data ()
void ip_data (IPData *set_data)
virtual void set_debug (const bool debugging_set)
void round_solution ()
bool solution_is_integer (const bool print_non_integer=false)
void get_frac (double x, int &integer, double &frac) const
double get_xl (int i) const
double get_xh (int i) const
double get_km (int i, double x) const
double get_kp (int i, double x) const
void get_km (int i, double x, int &km_integer, double &km_frac) const
void get_kp (int i, double x, int &kp_integer, double &kp_frac) const
bool randomize_weights_of_non_int (IAWeights *weights, const double rand_factor)

Protected Attributes

bool debuggingToolInt

Detailed Description

Definition at line 15 of file IASolverToolInt.hpp.

Constructor & Destructor Documentation

default constructor

Definition at line 16 of file IASolverToolInt.cpp.

IASolverToolInt ( const bool  debugging_set)

Definition at line 26 of file IASolverToolInt.cpp.

IASolverToolInt ( const IAData ia_data,
IASolution ia_solution,
bool  debugging_set = false 

Definition at line 21 of file IASolverToolInt.cpp.

~IASolverToolInt ( ) [virtual]

default destructor

Definition at line 32 of file IASolverToolInt.cpp.

Member Function Documentation

void get_frac ( double  x,
int &  integer,
double &  frac 
) const

Definition at line 115 of file IASolverToolInt.cpp.

double get_km ( int  i,
double  x 
) const

Definition at line 134 of file IASolverToolInt.cpp.

void get_km ( int  i,
double  x,
int &  km_integer,
double &  km_frac 
) const

Definition at line 140 of file IASolverToolInt.cpp.

double get_kp ( int  i,
double  x 
) const

Definition at line 145 of file IASolverToolInt.cpp.

void get_kp ( int  i,
double  x,
int &  kp_integer,
double &  kp_frac 
) const

Definition at line 151 of file IASolverToolInt.cpp.

double get_xh ( int  i) const

Definition at line 129 of file IASolverToolInt.cpp.

double get_xl ( int  i) const

Definition at line 124 of file IASolverToolInt.cpp.

IPData* ip_data ( ) [inline]

Definition at line 28 of file IASolverToolInt.hpp.

void ip_data ( IPData set_data) [inline]

Definition at line 29 of file IASolverToolInt.hpp.

bool randomize_weights_of_non_int ( IAWeights weights,
const double  rand_factor 

Definition at line 158 of file IASolverToolInt.cpp.

void round_solution ( )

Reimplemented in IASolverBend.

Definition at line 38 of file IASolverToolInt.cpp.

virtual void set_debug ( const bool  debugging_set) [inline, virtual]

Reimplemented from IASolverTool.

Definition at line 30 of file IASolverToolInt.hpp.

bool solution_is_integer ( const bool  print_non_integer = false)

Definition at line 49 of file IASolverToolInt.cpp.

Member Data Documentation

bool debuggingToolInt [protected]

Definition at line 58 of file IASolverToolInt.hpp.

IPData* ipData [protected]

Definition at line 55 of file IASolverToolInt.hpp.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines