Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb_skiplistlib::skip_list Namespace Reference

Namespace for the C++ Slip List. More...

Classes

class  Exception
 Base exception class for all exceptions in the OrderedStructs::SkipList namespace. More...
class  IndexError
 Specialised exception case for an index out of range error. More...
class  ValueError
 Specialised exception for an value error where the given value does not exist in the Skip List. More...
class  FailedComparison
 Specialised exception used for NaN detection where value != value (example NaNs). More...
class  Node
 Forward reference. More...
struct  NodeRef
 A PoD struct that contains a pointer to a Node and a width that represents the coarser linked list span to the next Node. More...
class  SwappableNodeRefStack
 Class that represents a stack of references to other nodes. More...
class  HeadNode
 A HeadNode is a skip list. This is the single node leading to all other content Nodes. More...

Enumerations

enum  IntegrityCheck {
  INTEGRITY_SUCCESS = 0 , NODEREFS_WIDTH_ZERO_NOT_UNITY = 100 , NODEREFS_WIDTH_DECREASING , NODE_HEIGHT_ZERO = 200 ,
  NODE_HEIGHT_EXCEEDS_HEADNODE , NODE_NON_NULL_AFTER_NULL , NODE_SELF_REFERENCE , NODE_REFERENCES_NOT_IN_GLOBAL_SET ,
  HEADNODE_CONTAINS_NULL = 300 , HEADNODE_COUNT_MISMATCH , HEADNODE_LEVEL_WIDTHS_MISMATCH , HEADNODE_DETECTS_CYCLIC_REFERENCE ,
  HEADNODE_DETECTS_OUT_OF_ORDER
}

Functions

void _throw_exceeds_size (size_t index)

Detailed Description

Namespace for the C++ Slip List.

Enumeration Type Documentation

◆ IntegrityCheck

Various integrity codes for structures in this code.

486223 {
486224 INTEGRITY_SUCCESS = 0,
486225 // SwappableNodeRefStack integrity checks
486226 NODEREFS_WIDTH_ZERO_NOT_UNITY = 100,
486227 NODEREFS_WIDTH_DECREASING,
486228 // Node integrity checks
486229 NODE_HEIGHT_ZERO = 200,
486230 NODE_HEIGHT_EXCEEDS_HEADNODE,
486231 NODE_NON_NULL_AFTER_NULL,
486232 NODE_SELF_REFERENCE,
486233 NODE_REFERENCES_NOT_IN_GLOBAL_SET,
486234 // HeadNode integrity checks
486235 HEADNODE_CONTAINS_NULL = 300,
486236 HEADNODE_COUNT_MISMATCH,
486237 HEADNODE_LEVEL_WIDTHS_MISMATCH,
486238 HEADNODE_DETECTS_CYCLIC_REFERENCE,
486239 HEADNODE_DETECTS_OUT_OF_ORDER,

Function Documentation

◆ _throw_exceeds_size()

void duckdb_skiplistlib::skip_list::_throw_exceeds_size ( size_t index)

This throws an IndexError when the index value >= the size of Skip List. If INCLUDE_METHODS_THAT_USE_STREAMS is defined then the error will have an informative message.

Parameters
indexThe out of range index.
488106 {
488107 std::string err_msg = "Index out of range.";
488108#endif
488109 throw IndexError(err_msg);
Specialised exception case for an index out of range error.
Definition duckdb.cpp:486121
Here is the caller graph for this function: