AIToolbox
A library that offers tools for AI problem solving.
AIToolbox::Factored::BasisFunction Struct Reference

This struct represents a basis function. More...

#include <AIToolbox/Factored/Utils/FactoredMatrix.hpp>

Public Attributes

PartialKeys tag
 
Vector values
 

Detailed Description

This struct represents a basis function.

A basis function is simply a function defined on some subset of factors. It maps each combination of values that can be taken by the factors with a double.

Note that, as far as the math is concerned, a basis function is a function over the whole factor space anyway. It's simply zero where it is not defined.

Thus, values will always have a number of elements equal to factorSpacePartial(tag, space), where space is the factor space this basis applies to.

Member Data Documentation

◆ tag

PartialKeys AIToolbox::Factored::BasisFunction::tag

◆ values

Vector AIToolbox::Factored::BasisFunction::values

The documentation for this struct was generated from the following file: