Cadabra
Computer algebra system for field theory problems
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
WeightBase.hh
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "Props.hh"
5 
6 namespace cadabra {
7 
8  class WeightBase : virtual public labelled_property {
9  public:
10  virtual multiplier_t value(const Kernel&, Ex::iterator, const std::string& forcedlabel) const=0;
11  };
12 
13 }
Definition: WeightBase.hh:8
Definition: Props.hh:159
mpq_class multiplier_t
Definition: Storage.hh:38
virtual multiplier_t value(const Kernel &, Ex::iterator, const std::string &forcedlabel) const =0
Definition: Kernel.hh:15