ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Struct template bond_descriptor_compare

alps::bond_descriptor_compare

Synopsis

// In header: <alps/lattice/bond_compare.h>

template<typename G> 
struct bond_descriptor_compare {
  // types
  typedef G                            graph_type;          
  typedef graph_traits< graph_type >   traits_type;         
  typedef traits_type::bond_descriptor bond_descriptor;     
  typedef traits_type::site_descriptor site_descriptor;     
  typedef bool                         result_type;         
  typedef bond_descriptor              first_argument_type; 
  typedef bond_descriptor              second_argument_type;

  // construct/copy/destruct
  bond_descriptor_compare(G const *);

  // public member functions
  bool operator()(bond_descriptor, bond_descriptor) const;

  // public data members
  graph_type const * Graph;
};

Description

bond_descriptor_compare public construct/copy/destruct

  1. bond_descriptor_compare(G const * Gr);

bond_descriptor_compare public member functions

  1. bool operator()(bond_descriptor b1, bond_descriptor b2) const;
Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo

PrevUpHomeNext