Privacy
An open-source, flexible 3D physical simulation framework
tsort.h File Reference

Go to the source code of this file.

Functions

void add_relation (unsigned long id1, unsigned long id2)
 
int tsort (void)
 
unsigned long * get_sorted_ids (void)
 

Function Documentation

◆ add_relation()

void add_relation ( unsigned long  id1,
unsigned long  id2 
)

Definition at line 423 of file tsort.c.

◆ get_sorted_ids()

unsigned long* get_sorted_ids ( void  )

Definition at line 518 of file tsort.c.

◆ tsort()

int tsort ( void  )

Definition at line 437 of file tsort.c.