#include <BlisBranchStrategyRel.h>
Inheritance diagram for BlisBranchStrategyRel:


Public Member Functions | |
| BlisBranchStrategyRel () | |
| Default Constructor. | |
| BlisBranchStrategyRel (BlisModel *model, int rel) | |
| Useful Constructor. | |
| virtual | ~BlisBranchStrategyRel () |
| Destructor. | |
| BlisBranchStrategyRel (const BlisBranchStrategyRel &) | |
| Copy constructor. | |
| void | setRelibility (int rel) |
| Set relibility. | |
| virtual BcpsBranchStrategy * | clone () const |
| Clone a brancing strategy. | |
| virtual int | betterBranchObject (BcpsBranchObject *thisOne, BcpsBranchObject *bestSoFar) |
| Compare branching object thisOne to bestSoFar. | |
| int | createCandBranchObjects (int numPassesLeft) |
| Create a set of candidate branching objects. | |
| BlisBranchStrategyRel () | |
| Default Constructor. | |
| BlisBranchStrategyRel (BlisModel *model, int rel) | |
| Useful Constructor. | |
| virtual | ~BlisBranchStrategyRel () |
| Destructor. | |
| BlisBranchStrategyRel (const BlisBranchStrategyRel &) | |
| Copy constructor. | |
| void | setRelibility (int rel) |
| Set relibility. | |
| virtual BcpsBranchStrategy * | clone () const |
| Clone a brancing strategy. | |
| virtual int | betterBranchObject (BcpsBranchObject *thisOne, BcpsBranchObject *bestSoFar) |
| Compare branching object thisOne to bestSoFar. | |
| int | createCandBranchObjects (int numPassesLeft) |
| Create a set of candidate branching objects. | |
Private Member Functions | |
| BlisBranchStrategyRel & | operator= (const BlisBranchStrategyRel &rhs) |
| Illegal Assignment operator. | |
| BlisBranchStrategyRel & | operator= (const BlisBranchStrategyRel &rhs) |
| Illegal Assignment operator. | |
Private Attributes | |
| int | relibility_ |
This class implements reliability branching.
Definition at line 42 of file BlisBranchStrategyRel.h.
| BlisBranchStrategyRel::BlisBranchStrategyRel | ( | ) | [inline] |
| BlisBranchStrategyRel::BlisBranchStrategyRel | ( | BlisModel * | model, | |
| int | rel | |||
| ) | [inline] |
| virtual BlisBranchStrategyRel::~BlisBranchStrategyRel | ( | ) | [inline, virtual] |
| BlisBranchStrategyRel::BlisBranchStrategyRel | ( | const BlisBranchStrategyRel & | ) |
Copy constructor.
| BlisBranchStrategyRel::BlisBranchStrategyRel | ( | ) | [inline] |
| BlisBranchStrategyRel::BlisBranchStrategyRel | ( | BlisModel * | model, | |
| int | rel | |||
| ) | [inline] |
| virtual BlisBranchStrategyRel::~BlisBranchStrategyRel | ( | ) | [inline, virtual] |
| BlisBranchStrategyRel::BlisBranchStrategyRel | ( | const BlisBranchStrategyRel & | ) |
Copy constructor.
| BlisBranchStrategyRel& BlisBranchStrategyRel::operator= | ( | const BlisBranchStrategyRel & | rhs | ) | [private] |
Illegal Assignment operator.
| void BlisBranchStrategyRel::setRelibility | ( | int | rel | ) | [inline] |
| virtual BcpsBranchStrategy* BlisBranchStrategyRel::clone | ( | ) | const [inline, virtual] |
Clone a brancing strategy.
Implements BcpsBranchStrategy.
Definition at line 72 of file BlisBranchStrategyRel.h.
References BlisBranchStrategyRel().
| 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).
Implements BcpsBranchStrategy.
| int BlisBranchStrategyRel::createCandBranchObjects | ( | int | numPassesLeft | ) | [virtual] |
| BlisBranchStrategyRel& BlisBranchStrategyRel::operator= | ( | const BlisBranchStrategyRel & | rhs | ) | [private] |
Illegal Assignment operator.
| void BlisBranchStrategyRel::setRelibility | ( | int | rel | ) | [inline] |
| virtual BcpsBranchStrategy* BlisBranchStrategyRel::clone | ( | ) | const [inline, virtual] |
Clone a brancing strategy.
Implements BcpsBranchStrategy.
Definition at line 70 of file BlisBranchStrategyRel.h.
References BlisBranchStrategyRel().
| 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).
Implements BcpsBranchStrategy.
| int BlisBranchStrategyRel::createCandBranchObjects | ( | int | numPassesLeft | ) | [virtual] |
int BlisBranchStrategyRel::relibility_ [private] |
1.4.7