collect_terms Class Reference

#include <algebra.hh>

Inheritance diagram for collect_terms:

algorithm active_node List of all members.

Public Member Functions

 collect_terms (exptree &, iterator)
virtual void description () const
virtual bool can_apply (iterator)
virtual result_t apply (iterator &)
virtual result_t apply (sibling_iterator &, sibling_iterator &)
void fill_hash_map (iterator)
void fill_hash_map (sibling_iterator, sibling_iterator)

Private Types

typedef std::multimap< hashval_t,
sibling_iterator
term_hash_t
typedef term_hash_t::iterator term_hash_iterator_t

Private Member Functions

result_t collect_from_hash_map ()
void remove_zeroed_terms (sibling_iterator, sibling_iterator)

Private Attributes

term_hash_t term_hash

Member Typedef Documentation

typedef term_hash_t::iterator collect_terms::term_hash_iterator_t [private]
 

typedef std::multimap<hashval_t, sibling_iterator> collect_terms::term_hash_t [private]
 


Constructor & Destructor Documentation

collect_terms::collect_terms exptree ,
iterator 
 


Member Function Documentation

algorithm::result_t collect_terms::apply sibling_iterator ,
sibling_iterator
[virtual]
 

Reimplemented from algorithm.

algorithm::result_t collect_terms::apply iterator  )  [virtual]
 

Reimplemented from algorithm.

bool collect_terms::can_apply iterator   )  [virtual]
 

Reimplemented from algorithm.

algorithm::result_t collect_terms::collect_from_hash_map  )  [private]
 

void collect_terms::description  )  const [virtual]
 

Implements active_node.

void collect_terms::fill_hash_map sibling_iterator  ,
sibling_iterator 
 

void collect_terms::fill_hash_map iterator   ) 
 

void collect_terms::remove_zeroed_terms sibling_iterator  ,
sibling_iterator 
[private]
 


Member Data Documentation

term_hash_t collect_terms::term_hash [private]
 


The documentation for this class was generated from the following files:
Generated on Sat Jul 18 23:03:15 2009 for cadabra by  doxygen 1.4.6