Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
test-splice.C File Reference
#include <iostream>
#include <tpl_dnode.H>
Include dependency graph for test-splice.C:

Go to the source code of this file.

Typedefs

using Node = Dnode< long >
 

Functions

Nodecreate_list_with_header (size_t n)
 
Nodecreate_list_without_header (size_t n)
 
Nodeaccess (Node *list, size_t n)
 
ostream & operator<< (ostream &out, Node *p)
 
int main (int argc, char *argv[])
 

Variables

static long counter = 0
 

Typedef Documentation

◆ Node

using Node = Dnode<long>

Definition at line 33 of file test-splice.C.

Function Documentation

◆ access()

Node * access ( Node list,
size_t  n 
)

Definition at line 54 of file test-splice.C.

Referenced by main(), main(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().

◆ create_list_with_header()

Node * create_list_with_header ( size_t  n)

Definition at line 37 of file test-splice.C.

References Aleph::Dlink::append(), and counter.

Referenced by main().

◆ create_list_without_header()

Node * create_list_without_header ( size_t  n)

Definition at line 46 of file test-splice.C.

References counter.

Referenced by main().

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ operator<<()

ostream & operator<< ( ostream &  out,
Node p 
)

Definition at line 62 of file test-splice.C.

References Aleph::divide_and_conquer_partition_dp().

Variable Documentation

◆ counter