|
| template<class NodeType , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true> |
| cost_t | cost (NodeType node) const |
| |
| constexpr CostPropagationCriteria | costPropagationCriteria () const noexcept |
| |
| template<class NodeType , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true> |
| void | costSet (NodeType node, cost_t value, bool propagate=true) |
| |
| void | costSetPropagationCriteria (CostPropagationCriteria prop_criteria, bool propagate=true) |
| |
| template<class NodeType , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true> |
| void | costUpdate (NodeType node, cost_t change, bool propagate=true) |
| |
| template<class NodeType , class UnaryOp , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true, std::enable_if_t< std::is_invocable_r_v< cost_t, UnaryOp, Index >, bool > = true> |
| void | costUpdate (NodeType node, UnaryOp unary_op, bool propagate=true) |
| |
|
|
| CostMap (CostMap &&other)=default |
| |
|
| CostMap (CostMap const &other)=default |
| |
| template<class Derived2 , class Tree2 > |
| | CostMap (CostMap< Derived2, Tree2 > &&other) |
| |
| template<class Derived2 , class Tree2 > |
| | CostMap (CostMap< Derived2, Tree2 > const &other) |
| |
| CostBlock< BF > & | costBlock (pos_t pos) |
| |
| CostBlock< BF > const & | costBlock (pos_t pos) const |
| |
| constexpr Derived & | derived () |
| |
| constexpr Derived const & | derived () const |
| |
| void | onDotFileInfo (std::ostream &out, Index node) const |
| |
| void | onInitChildren (Index node, pos_t children) |
| |
| void | onInitRoot () |
| |
| void | onPropagateChildren (Index node, pos_t children) |
| |
| void | onPruneChildren (Index node, pos_t children) |
| |
| void | onRead (ReadBuffer &in, std::vector< std::pair< pos_t, BitSet< BF > > > const &nodes) |
| |
| void | onWrite (WriteBuffer &out, std::vector< std::pair< pos_t, BitSet< BF > > > const &nodes) |
| |
|
CostMap & | operator= (CostMap &&rhs)=default |
| |
|
CostMap & | operator= (CostMap const &rhs)=default |
| |
| template<class Derived2 , class Tree2 > |
| CostMap & | operator= (CostMap< Derived2, Tree2 > &&rhs) |
| |
| template<class Derived2 , class Tree2 > |
| CostMap & | operator= (CostMap< Derived2, Tree2 > const &rhs) |
| |
| bool | prunable (pos_t block) const |
| |
| constexpr std::size_t | serializedSize (std::vector< std::pair< pos_t, BitSet< BF > > > const &, std::size_t num_nodes) const |
| |
| void | swap (CostMap &other) noexcept |
| |
template<class Derived, class
Tree>
class ufo::CostMap< Derived, Tree >
Definition at line 69 of file map.hpp.
template<class Derived , class
Tree >
template<class NodeType , class UnaryOp , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true, std::enable_if_t< std::is_invocable_r_v< cost_t, UnaryOp, Index >, bool > = true>
| void ufo::CostMap< Derived, Tree >::costUpdate |
( |
NodeType |
node, |
|
|
UnaryOp |
unary_op, |
|
|
bool |
propagate = true |
|
) |
| |
|
inline |