Classes | Public Member Functions | Protected Member Functions | Private Types | Private Attributes
GCoptimizationGeneralGraph Class Reference

#include <GCoptimization.h>

Inheritance diagram for GCoptimizationGeneralGraph:
Inheritance graph
[legend]

List of all members.

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
LinkedBlockListm_neighbors
SiteID ** m_neighborsIndexes
EnergyTermType ** m_neighborsWeights

Detailed Description

Definition at line 546 of file GCoptimization.h.


Member Typedef Documentation


Constructor & Destructor Documentation

Definition at line 1519 of file GCoptimization.cpp.

Definition at line 1534 of file GCoptimization.cpp.


Member Function Documentation

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.


Member Data Documentation

Definition at line 583 of file GCoptimization.h.

Definition at line 580 of file GCoptimization.h.

Definition at line 579 of file GCoptimization.h.

Definition at line 581 of file GCoptimization.h.

Definition at line 582 of file GCoptimization.h.


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


tabletop_pushing
Author(s): Tucker Hermans
autogenerated on Wed Nov 27 2013 11:59:45