Struct cowboys::NodeFunction
ClassList > cowboys > NodeFunction
A function pointer wrapper that holds extra arguments for the function pointer.
#include <GraphNode.hpp>
Public Attributes
Type | Name |
---|---|
const cse491::AgentBase * | agent = {nullptr} |
InnerFunction | function = {nullptr} |
Public Functions
Type | Name |
---|---|
bool | IsNull () const |
double | operator() (const GraphNode & node) const |
Public Attributes Documentation
variable agent
const cse491::AgentBase* agent;
variable function
InnerFunction function;
Public Functions Documentation
function IsNull
inline bool cowboys::NodeFunction::IsNull () const
function operator()
inline double cowboys::NodeFunction::operator() (
const GraphNode & node
) const
The documentation for this class was generated from the following file source/Agents/GP/GraphNode.hpp