Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

SmallRingLinkages Class Reference

A SmallRingLinkages object contains a list of edges which lie on paths connecting (orientated) SmallRings. More...

#include <SmallRingLinkages.h>

List of all members.

Public Methods

 SmallRingLinkages (void)
 ~SmallRingLinkages (void)
void clear (void)
void addLinkagePath (LinkagePath &lp)
bool sharesLinkageEdges (LinkagePath &lp)
LinkageEdgegetLinkageEdge (int atom_left, int atom_right)
void order_edge_atoms (int &atom_left, int &atom_right)
int get_link_key (int al, int ar)

Public Attributes

ResizeArray< LinkageEdge * > links
ResizeArray< LinkagePath * > paths

Friends

Informoperator<< (Inform &os, SmallRingLinkages &srl)


Detailed Description

A SmallRingLinkages object contains a list of edges which lie on paths connecting (orientated) SmallRings.

Definition at line 87 of file SmallRingLinkages.h.


Constructor & Destructor Documentation

SmallRingLinkages::SmallRingLinkages void    [inline]
 

Definition at line 95 of file SmallRingLinkages.h.

References inthash_init.

SmallRingLinkages::~SmallRingLinkages void    [inline]
 

Definition at line 101 of file SmallRingLinkages.h.

References inthash_destroy.


Member Function Documentation

void SmallRingLinkages::addLinkagePath LinkagePath   lp [inline]
 

Definition at line 114 of file SmallRingLinkages.h.

References LinkageEdge::addPath, ResizeArray::append, getLinkageEdge, SmallRing::num, and LinkagePath::path.

void SmallRingLinkages::clear void    [inline]
 

Definition at line 106 of file SmallRingLinkages.h.

References ResizeArray::clear, inthash_destroy, and inthash_init.

int SmallRingLinkages::get_link_key int    al,
int    ar
[inline]
 

Definition at line 172 of file SmallRingLinkages.h.

Referenced by getLinkageEdge.

LinkageEdge* SmallRingLinkages::getLinkageEdge int    atom_left,
int    atom_right
[inline]
 

Definition at line 145 of file SmallRingLinkages.h.

References ResizeArray::append, get_link_key, inthash_insert, inthash_lookup, ResizeArray::num, and order_edge_atoms.

Referenced by addLinkagePath, and sharesLinkageEdges.

void SmallRingLinkages::order_edge_atoms int &    atom_left,
int &    atom_right
[inline]
 

Definition at line 163 of file SmallRingLinkages.h.

Referenced by getLinkageEdge.

bool SmallRingLinkages::sharesLinkageEdges LinkagePath   lp [inline]
 

Definition at line 129 of file SmallRingLinkages.h.

References getLinkageEdge, ResizeArray< LinkagePath * >::num, SmallRing::num, LinkagePath::path, and LinkageEdge::paths.


Friends And Related Function Documentation

Inform& operator<< Inform   os,
SmallRingLinkages &    srl
[friend]
 

Definition at line 179 of file SmallRingLinkages.h.


Member Data Documentation

ResizeArray<LinkageEdge *> SmallRingLinkages::links
 

Definition at line 92 of file SmallRingLinkages.h.

ResizeArray<LinkagePath *> SmallRingLinkages::paths
 

Definition at line 93 of file SmallRingLinkages.h.


The documentation for this class was generated from the following file:
Generated on Fri Nov 8 02:47:21 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002