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