Cadabra
Computer algebra system for field theory problems
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  }
cadabra::labelled_property
Definition: Props.hh:183
cadabra::Kernel
Definition: Kernel.hh:14
cadabra
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:82
Props.hh
cadabra::multiplier_t
mpq_class multiplier_t
Definition: Storage.hh:38
cadabra::WeightBase
Definition: WeightBase.hh:8
cadabra::WeightBase::value
virtual multiplier_t value(const Kernel &, Ex::iterator, const std::string &forcedlabel) const =0