59 typedef std::vector<double>
Row;
60 typedef std::vector<Row> Table;
71 std::optional<std::string> spec_;
74 std::optional<Table> table_;
103 const std::string& spec);
127 const std::optional<Table>& table()
const {
return table_; }
130 std::vector<double> cpt()
const;
136 Signature& operator=(
const std::string& spec);
139 Signature& operator=(
const Table& table);
142 GTSAM_EXPORT
friend std::ostream& operator<<(std::ostream& os,
const DiscreteKey & key() const
Definition: Signature.h:115
Definition: Signature.h:54
GTSAM_EXPORT Signature operator|(const DiscreteKey &key, const DiscreteKey &parent)
const DiscreteKeys & parents() const
Definition: Signature.h:118
GTSAM_EXPORT Signature operator%(const DiscreteKey &key, const std::string &parent)
std::vector< double > Row
Definition: Signature.h:59
Definition: chartTesting.h:28
FastVector< Key > KeyVector
Define collection type once and for all - also used in wrappers.
Definition: Key.h:86
specialized key for discrete variables
std::pair< Key, size_t > DiscreteKey
Definition: DiscreteKey.h:38
DiscreteKeys is a set of keys that can be assembled using the & operator.
Definition: DiscreteKey.h:41