Blis  0.94.0
Public Member Functions | List of all members
BlisBranchStrategyRel Class Reference

Blis branching strategy. More...

#include <BlisBranchStrategyRel.h>

+ Inheritance diagram for BlisBranchStrategyRel:

Public Member Functions

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

Detailed Description

Blis branching strategy.

This class implements reliability branching.

Definition at line 40 of file BlisBranchStrategyRel.h.

Constructor & Destructor Documentation

BlisBranchStrategyRel::BlisBranchStrategyRel ( )
inline

Default Constructor.

Definition at line 51 of file BlisBranchStrategyRel.h.

BlisBranchStrategyRel::BlisBranchStrategyRel ( BlisModel model,
int  rel 
)
inline

Useful Constructor.

Definition at line 57 of file BlisBranchStrategyRel.h.

virtual BlisBranchStrategyRel::~BlisBranchStrategyRel ( )
inlinevirtual

Destructor.

Definition at line 64 of file BlisBranchStrategyRel.h.

BlisBranchStrategyRel::BlisBranchStrategyRel ( const BlisBranchStrategyRel )

Copy constructor.

Member Function Documentation

void BlisBranchStrategyRel::setRelibility ( int  rel)
inline

Set relibility.

Definition at line 70 of file BlisBranchStrategyRel.h.

virtual BcpsBranchStrategy* BlisBranchStrategyRel::clone ( ) const
inlinevirtual

Clone a brancing strategy.

Definition at line 73 of file BlisBranchStrategyRel.h.

virtual int BlisBranchStrategyRel::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).

int BlisBranchStrategyRel::createCandBranchObjects ( int  numPassesLeft,
double  ub 
)

Create a set of candidate branching objects.


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