Public Member Functions | Private Member Functions | Private Attributes
BlisBranchStrategyPseudo Class Reference

Blis branching strategy default class This class implements a simple default algorithm, betterBranchObject(), for choosing a branching variable. More...

#include <BlisBranchStrategyPseudo.h>

Inheritance diagram for BlisBranchStrategyPseudo:
BcpsBranchStrategy BcpsBranchStrategy

List of all members.

Public Member Functions

 BlisBranchStrategyPseudo ()
 Default Constructor.
 BlisBranchStrategyPseudo (BlisModel *model, int rel)
 Useful Constructor.
virtual ~BlisBranchStrategyPseudo ()
 Destructor.
 BlisBranchStrategyPseudo (const BlisBranchStrategyPseudo &)
 Copy constructor.
void setRelibility (int rel)
 Set relibility.
virtual BcpsBranchStrategyclone () const
 Clone a brancing strategy.
virtual int betterBranchObject (BcpsBranchObject *thisOne, BcpsBranchObject *bestSoFar)
 Compare branching object thisOne to bestSoFar.
int createCandBranchObjects (int numPassesLeft, double ub)
 Create a set of candidate branching objects.
 BlisBranchStrategyPseudo ()
 Default Constructor.
 BlisBranchStrategyPseudo (BlisModel *model, int rel)
 Useful Constructor.
virtual ~BlisBranchStrategyPseudo ()
 Destructor.
 BlisBranchStrategyPseudo (const BlisBranchStrategyPseudo &)
 Copy constructor.
void setRelibility (int rel)
 Set relibility.
virtual BcpsBranchStrategyclone () const
 Clone a brancing strategy.
virtual int betterBranchObject (BcpsBranchObject *thisOne, BcpsBranchObject *bestSoFar)
 Compare branching object thisOne to bestSoFar.
int createCandBranchObjects (int numPassesLeft, double ub)
 Create a set of candidate branching objects.

Private Member Functions

BlisBranchStrategyPseudooperator= (const BlisBranchStrategyPseudo &rhs)
 Illegal Assignment operator.
BlisBranchStrategyPseudooperator= (const BlisBranchStrategyPseudo &rhs)
 Illegal Assignment operator.

Private Attributes

int relibility_

Detailed Description

Blis branching strategy default class This class implements a simple default algorithm, betterBranchObject(), for choosing a branching variable.

Definition at line 41 of file BlisBranchStrategyPseudo.h.


Constructor & Destructor Documentation

Default Constructor.

Definition at line 52 of file BlisBranchStrategyPseudo.h.

Useful Constructor.

Definition at line 55 of file BlisBranchStrategyPseudo.h.

Destructor.

Definition at line 62 of file BlisBranchStrategyPseudo.h.

Copy constructor.

Default Constructor.

Definition at line 52 of file BlisBranchStrategyPseudo.h.

Useful Constructor.

Definition at line 55 of file BlisBranchStrategyPseudo.h.

Destructor.

Definition at line 62 of file BlisBranchStrategyPseudo.h.

Copy constructor.


Member Function Documentation

BlisBranchStrategyPseudo& BlisBranchStrategyPseudo::operator= ( const BlisBranchStrategyPseudo rhs) [private]

Illegal Assignment operator.

void BlisBranchStrategyPseudo::setRelibility ( int  rel) [inline]

Set relibility.

Definition at line 68 of file BlisBranchStrategyPseudo.h.

virtual BcpsBranchStrategy* BlisBranchStrategyPseudo::clone ( ) const [inline, virtual]

Clone a brancing strategy.

Implements BcpsBranchStrategy.

Definition at line 71 of file BlisBranchStrategyPseudo.h.

virtual int BlisBranchStrategyPseudo::betterBranchObject ( BcpsBranchObject thisOne,
BcpsBranchObject bestSoFar 
) [virtual]

Compare branching object thisOne to bestSoFar.

If thisOne is better than bestObject, return branching direction(1 or -1), otherwise return 0. If bestSorFar is NULL, then always return branching direction(1 or -1).

Implements BcpsBranchStrategy.

int BlisBranchStrategyPseudo::createCandBranchObjects ( int  numPassesLeft,
double  ub 
) [virtual]

Create a set of candidate branching objects.

Reimplemented from BcpsBranchStrategy.

BlisBranchStrategyPseudo& BlisBranchStrategyPseudo::operator= ( const BlisBranchStrategyPseudo rhs) [private]

Illegal Assignment operator.

void BlisBranchStrategyPseudo::setRelibility ( int  rel) [inline]

Set relibility.

Definition at line 68 of file BlisBranchStrategyPseudo.h.

virtual BcpsBranchStrategy* BlisBranchStrategyPseudo::clone ( ) const [inline, virtual]

Clone a brancing strategy.

Implements BcpsBranchStrategy.

Definition at line 71 of file BlisBranchStrategyPseudo.h.

virtual int BlisBranchStrategyPseudo::betterBranchObject ( BcpsBranchObject thisOne,
BcpsBranchObject bestSoFar 
) [virtual]

Compare branching object thisOne to bestSoFar.

If thisOne is better than bestObject, return branching direction(1 or -1), otherwise return 0. If bestSorFar is NULL, then always return branching direction(1 or -1).

Implements BcpsBranchStrategy.

int BlisBranchStrategyPseudo::createCandBranchObjects ( int  numPassesLeft,
double  ub 
) [virtual]

Create a set of candidate branching objects.

Reimplemented from BcpsBranchStrategy.


Member Data Documentation

Definition at line 47 of file BlisBranchStrategyPseudo.h.


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