MCPcopy Create free account
hub / github.com/davisking/dlib / check_remove_node

Method check_remove_node

dlib/graph/graph_kernel_1.h:145–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143 }
144
145 static void check_remove_node (
146 unsigned long index,
147 const graph& self
148 )
149 {
150 // make sure requires clause is not broken
151 DLIB_CASSERT(index < self.number_of_nodes(),
152 "\tvoid graph::remove_node(index)"
153 << "\n\tYou have specified an invalid index"
154 << "\n\tindex: " << index
155 << "\n\tnumber_of_nodes(): " << self.number_of_nodes()
156 << "\n\tthis: " << &self
157 );
158 }
159 };
160
161 template <typename node_type, typename graph>

Callers

nothing calls this directly

Calls 1

number_of_nodesMethod · 0.45

Tested by

no test coverage detected