#include <GCoptimization.h>
Classes | |
struct | NeighborStruct |
Public Member Functions | |
GCoptimizationGeneralGraph (SiteID num_sites, LabelID num_labels) | |
void | setAllNeighbors (SiteID *numNeighbors, SiteID **neighborsIndexes, EnergyTermType **neighborsWeights) |
void | setNeighbors (SiteID site1, SiteID site2, EnergyTermType weight=1) |
virtual | ~GCoptimizationGeneralGraph () |
Protected Member Functions | |
virtual void | finalizeNeighbors () |
virtual void | giveNeighborInfo (SiteID site, SiteID *numSites, SiteID **neighbors, EnergyTermType **weights) |
Private Types | |
typedef struct GCoptimizationGeneralGraph::NeighborStruct | Neighbor |
Private Attributes | |
bool | m_needTodeleteNeighbors |
bool | m_needToFinishSettingNeighbors |
LinkedBlockList * | m_neighbors |
SiteID ** | m_neighborsIndexes |
EnergyTermType ** | m_neighborsWeights |
Definition at line 546 of file GCoptimization.h.
typedef struct GCoptimizationGeneralGraph::NeighborStruct GCoptimizationGeneralGraph::Neighbor [private] |
GCoptimizationGeneralGraph::GCoptimizationGeneralGraph | ( | SiteID | num_sites, |
LabelID | num_labels | ||
) |
Definition at line 1519 of file GCoptimization.cpp.
GCoptimizationGeneralGraph::~GCoptimizationGeneralGraph | ( | ) | [virtual] |
Definition at line 1534 of file GCoptimization.cpp.
void GCoptimizationGeneralGraph::finalizeNeighbors | ( | ) | [protected, virtual] |
Implements GCoptimization.
Definition at line 1559 of file GCoptimization.cpp.
void GCoptimizationGeneralGraph::giveNeighborInfo | ( | SiteID | site, |
SiteID * | numSites, | ||
SiteID ** | neighbors, | ||
EnergyTermType ** | weights | ||
) | [protected, virtual] |
Definition at line 1620 of file GCoptimization.cpp.
void GCoptimizationGeneralGraph::setAllNeighbors | ( | SiteID * | numNeighbors, |
SiteID ** | neighborsIndexes, | ||
EnergyTermType ** | neighborsWeights | ||
) |
Definition at line 1665 of file GCoptimization.cpp.
void GCoptimizationGeneralGraph::setNeighbors | ( | SiteID | site1, |
SiteID | site2, | ||
EnergyTermType | weight = 1 |
||
) |
Definition at line 1637 of file GCoptimization.cpp.
Definition at line 583 of file GCoptimization.h.
Definition at line 580 of file GCoptimization.h.
Definition at line 579 of file GCoptimization.h.
SiteID** GCoptimizationGeneralGraph::m_neighborsIndexes [private] |
Definition at line 581 of file GCoptimization.h.
Definition at line 582 of file GCoptimization.h.