CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <SubClusterGenerator.hh>
Generates subclusters of a cluster with an iterator-like interface.
Definition at line 17 of file SubClusterGenerator.hh.
Public Member Functions | |
SubClusterGenerator () | |
Default construtor. More... | |
SubClusterGenerator (const ClusterType &clust) | |
Construt with the cluster to find subclusters of. More... | |
Private Member Functions | |
void | increment () |
bool | equal (const SubClusterGenerator &other) const |
ClusterType & | dereference () const |
bool | valid () const |
Private Attributes | |
notstd::cloneable_ptr< ClusterType > | m_cluster |
the cluster we're finding subclusters of More... | |
bool | m_current_valid |
for lazy construction of m_current More... | |
notstd::cloneable_ptr< ClusterType > | m_current |
The current subcluster. More... | |
Counter< std::vector< int > > | m_site_counter |
Indicates which sites to include (1) or not include (0) in the subcluster. More... | |
Friends | |
class | boost::iterator_core_access |
|
inline |
Default construtor.
Definition at line 22 of file SubClusterGenerator.hh.
|
inlineexplicit |
Construt with the cluster to find subclusters of.
Definition at line 25 of file SubClusterGenerator.hh.
|
inlineprivate |
Definition at line 53 of file SubClusterGenerator.hh.
|
inlineprivate |
Definition at line 41 of file SubClusterGenerator.hh.
|
inlineprivate |
Definition at line 36 of file SubClusterGenerator.hh.
|
inlineprivate |
Definition at line 66 of file SubClusterGenerator.hh.
|
friend |
Definition at line 34 of file SubClusterGenerator.hh.
|
private |
the cluster we're finding subclusters of
Definition at line 75 of file SubClusterGenerator.hh.
|
private |
The current subcluster.
Definition at line 81 of file SubClusterGenerator.hh.
|
private |
for lazy construction of m_current
Definition at line 78 of file SubClusterGenerator.hh.
|
private |
Indicates which sites to include (1) or not include (0) in the subcluster.
Definition at line 84 of file SubClusterGenerator.hh.