Definition at line 66 of file lwt_edgeend_star.c.
67{
68 int numEdgeEnds = 0;
70 uint64_t newCapacity;
71
73 {
75 if ( ! ee ) {
76 lwerror(
"Could not construct outgoing EdgeEnd for edge %"
78 return;
79 }
80 edgeEnds[numEdgeEnds++] = ee;
81 }
83 {
85 if ( ! ee ) {
86 lwerror(
"Could not construct outgoing incoming for edge %"
88 return;
89 }
90 edgeEnds[numEdgeEnds++] = ee;
91 }
92
93 if ( ! numEdgeEnds )
94 {
98 return;
99 }
100
104
106 LWDEBUGF(3,
"Current star capacity:%lld, required:%lld",
109 {
113 } else {
115 }
118 LWDEBUGF(3,
"New star capacity: %lld", newCapacity);
119 }
120
121 for (int i=0; i<numEdgeEnds; ++i)
122 {
124 }
126}
void * lwrealloc(void *mem, size_t size)
void * lwalloc(size_t size)
#define LWDEBUGF(level, msg,...)
void void lwerror(const char *fmt,...) __attribute__((format(printf
Write a notice out to the error handler.
LWT_EDGEEND * lwt_edgeEnd_fromEdge(const LWT_ISO_EDGE *edge, int outgoing)
uint64_t edgeEndsCapacity
References LWT_ISO_EDGE::edge_id, LWT_EDGEEND_STAR_t::edgeEnds, LWT_EDGEEND_STAR_t::edgeEndsCapacity, LWT_ISO_EDGE::end_node, lwalloc(), LWDEBUGF, lwerror(), lwrealloc(), lwt_edgeEnd_fromEdge(), LWTFMT_ELEMID, LWT_EDGEEND_STAR_t::nodeID, LWT_EDGEEND_STAR_t::numEdgeEnds, LWT_EDGEEND_STAR_t::sorted, and LWT_ISO_EDGE::start_node.
Referenced by _lwt_SnapEdgeToExistingNode().