CoinCliqueExtender

A class to extend cliques.

A class to extend cliques.

Description

It stores the cliques extended in a clique list.

Public Methods

CoinCliqueExtender

Default constructor.

 CoinCliqueExtender(const CoinConflictGraph * cgraph, size_t extMethod = 4, const double * rc = NULL, const double maxRC = 100.0)

Parameters:

~CoinCliqueExtender

Destructor.

 ~CoinCliqueExtender()

extendClique

Try to extend a clique.

bool extendClique(const size_t * clqIdxs, const size_t clqSize)

Parameters:

nCliques

Return the number of cliques stored in the list of cliques extended.

size_t nCliques()

getClique

Return the i-th clique extended.

const size_t * getClique(const size_t i)

Parameters:

getCliqueSize

Return the size of the i-th clique extended.

size_t getCliqueSize(const size_t i)

Parameters:

setMaxCandidates

Set the maximum number of candidates to enter a clique.

void setMaxCandidates(const size_t maxCandidates)

Parameters:

Source

Header: layer-0/CoinUtils/src/CoinCliqueExtender.hpp