1#ifndef PSCF_EDGE_ITERATOR_H
2#define PSCF_EDGE_ITERATOR_H
11#include <pscf/chem/PolymerSpecies.h>
61 void begin(
int sourceId,
int targetId);
102 int currentVertexId_;
Edge iterator for graph associated with a polymer.
int currentVertexId() const
Get index of the current vertex.
int currentEdgeId() const
Get index of the current edge.
~EdgeIterator()
Destructor.
EdgeIterator(PolymerSpecies const &polymer)
Constructor.
bool notEnd() const
Return true iff currentId != targetId.
void begin(int sourceId, int targetId)
Initialize iterator.
EdgeIterator & operator++()
Increment operator - move to next vertex.
bool isEnd() const
Return true iff currentId == targetId.
Descriptor for a linear or acyclic branched block polymer.
PSCF package top-level namespace.
Utility classes for scientific computation.