Skip to content

User Provided Node #42

Description

@heavenfall

Current search_node for holds the fields as follows:

pad_id id_;
pad_id parent_id_;
cost_t g_;
cost_t f_;
cost_t ub_;
uint8_t status_;    // open or closed
uint32_t priority_; // expansion priority
uint32_t search_number_;
static uint32_t refcount_;

It uses getters/setters to refer to these data types and is the class in use for basic search and memory pool like node_pool.

I propose allowing the user to propose the use of their own nodes.
This proposal aligns with #22 and #6 issues, in that we will need a flexible memory allocator, and allowing custom nodes will help with the graph section of warthog.

The allocators (or factory) have great progress over in inxlib.

The following posts will be some proposals.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions