Public Member Functions | Private Attributes
btUnionFind Class Reference

UnionFind calculates connected subsets. More...

#include <btUnionFind.h>

List of all members.

Public Member Functions

void allocate (int N)
 btUnionFind ()
int find (int p, int q)
int find (int x)
void Free ()
btElementgetElement (int index)
const btElementgetElement (int index) const
SIMD_FORCE_INLINE int getNumElements () const
SIMD_FORCE_INLINE bool isRoot (int x) const
void reset (int N)
void sortIslands ()
void unite (int p, int q)
 ~btUnionFind ()

Private Attributes

btAlignedObjectArray< btElementm_elements

Detailed Description

UnionFind calculates connected subsets.

Definition at line 35 of file btUnionFind.h.


Constructor & Destructor Documentation


Member Function Documentation

void btUnionFind::allocate ( int  N)
int btUnionFind::find ( int  p,
int  q 
) [inline]

Definition at line 76 of file btUnionFind.h.

int btUnionFind::find ( int  x) [inline]

Definition at line 102 of file btUnionFind.h.

btElement& btUnionFind::getElement ( int  index) [inline]

Definition at line 61 of file btUnionFind.h.

const btElement& btUnionFind::getElement ( int  index) const [inline]

Definition at line 65 of file btUnionFind.h.

Definition at line 52 of file btUnionFind.h.

SIMD_FORCE_INLINE bool btUnionFind::isRoot ( int  x) const [inline]

Definition at line 56 of file btUnionFind.h.

void btUnionFind::reset ( int  N)
void btUnionFind::unite ( int  p,
int  q 
) [inline]

Definition at line 81 of file btUnionFind.h.


Member Data Documentation

Definition at line 38 of file btUnionFind.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


bullet
Author(s): Erwin Coumans, ROS package maintained by Tully Foote
autogenerated on Wed Oct 31 2012 07:54:33