From: Mike D. Lowis Date: Mon, 4 Jun 2012 20:23:10 +0000 (-0400) Subject: Deleted doxygen docs X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=f9e7f9655e5f4fc1bd9c7dffffe057b14f0bc0af;p=projs%2Flibcds.git Deleted doxygen docs --- diff --git a/docs/doxygen/html/annotated.html b/docs/doxygen/html/annotated.html deleted file mode 100644 index 7aa64b5..0000000 --- a/docs/doxygen/html/annotated.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - -Data Structures: Class List - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

Class List

-
-
-
Here are the classes, structs, unions and interfaces with brief descriptions:
- - - - - -
bt_nodeA binary tree node
bt_treeA binary tree
ht_nodeA node in a hash table
ht_tableA hash table
sll_nodeA linked list node
-
-
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/avl_8c.html b/docs/doxygen/html/avl_8c.html deleted file mode 100644 index 9403f2c..0000000 --- a/docs/doxygen/html/avl_8c.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - -Data Structures: src/trees/avl/avl.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

src/trees/avl/avl.c File Reference

-
- -
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/avl_8c_source.html b/docs/doxygen/html/avl_8c_source.html deleted file mode 100644 index f8e5c2b..0000000 --- a/docs/doxygen/html/avl_8c_source.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - -Data Structures: src/trees/avl/avl.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

src/trees/avl/avl.c

-
-
-Go to the documentation of this file.
00001 /******************************************************************************
-00002  * Copyright (c) 2012, Michael D. Lowis
-00003  * All rights reserved.
-00004  *
-00005  * Redistribution and use in source and binary forms, with or without
-00006  * modification, are permitted provided that the following conditions are met:
-00007  *
-00008  * * Redistributions of source code must retain the above copyright notice,
-00009  *   this list of conditions and the following disclaimer.
-00010  *
-00011  * * Redistributions in binary form must reproduce the above copyright notice,
-00012  *   this list of conditions and the following disclaimer in the documentation
-00013  *   and/or other materials provided with the distribution.
-00014  *
-00015  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-00016  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-00017  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-00018  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-00019  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-00020  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-00021  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-00022  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-00023  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-00024  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-00025  * POSSIBILITY OF SUCH DAMAGE.
-00026  *****************************************************************************/
-00027 
-
-
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/avl_8h.html b/docs/doxygen/html/avl_8h.html deleted file mode 100644 index e55f45c..0000000 --- a/docs/doxygen/html/avl_8h.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - -Data Structures: src/trees/avl/avl.h File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

src/trees/avl/avl.h File Reference

-
- -
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/avl_8h_source.html b/docs/doxygen/html/avl_8h_source.html deleted file mode 100644 index a38c2f0..0000000 --- a/docs/doxygen/html/avl_8h_source.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - -Data Structures: src/trees/avl/avl.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

src/trees/avl/avl.h

-
-
-Go to the documentation of this file.
00001 /******************************************************************************
-00002  * Copyright (c) 2012, Michael D. Lowis
-00003  * All rights reserved.
-00004  *
-00005  * Redistribution and use in source and binary forms, with or without
-00006  * modification, are permitted provided that the following conditions are met:
-00007  *
-00008  * * Redistributions of source code must retain the above copyright notice,
-00009  *   this list of conditions and the following disclaimer.
-00010  *
-00011  * * Redistributions in binary form must reproduce the above copyright notice,
-00012  *   this list of conditions and the following disclaimer in the documentation
-00013  *   and/or other materials provided with the distribution.
-00014  *
-00015  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-00016  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-00017  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-00018  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-00019  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-00020  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-00021  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-00022  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-00023  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-00024  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-00025  * POSSIBILITY OF SUCH DAMAGE.
-00026  *****************************************************************************/
-00027 
-
-
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/bc_s.png b/docs/doxygen/html/bc_s.png deleted file mode 100644 index 51ba006..0000000 Binary files a/docs/doxygen/html/bc_s.png and /dev/null differ diff --git a/docs/doxygen/html/bt_8c.html b/docs/doxygen/html/bt_8c.html deleted file mode 100644 index 31cf3b6..0000000 --- a/docs/doxygen/html/bt_8c.html +++ /dev/null @@ -1,354 +0,0 @@ - - - - -Data Structures: src/trees/binary/bt.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/trees/binary/bt.c File Reference

-
-
-
#include "bt.h"
-
-Include dependency graph for bt.c:
-
-
- - -
-
-

Go to the source code of this file.

- - - - - - - - - - - - - -

-Functions

bt_treebt_new (bt_compare_func compare)
 Creates a new empty binary tree.
void bt_free (bt_tree *tree, int free_contents)
 Frees the memory allocated for all nodes of a tree.
int bt_compare_ptr (void *obj1, void *obj2)
 Compares the value of two pointers.
void bt_insert (bt_tree *tree, void *data)
 Inserts a new node into the tree.
void bt_delete (bt_tree *tree, void *data)
void * bt_find (bt_tree *tree, void *data)
 Finds and returns the data from a node containing the given data.
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
int bt_compare_ptr (void * obj1,
void * obj2 
)
-
-
- -

Compares the value of two pointers.

-

This function takes two pointers and compares their values returning an integral value representing the result of the comparison. A return value of zero indicates the pointers are equal. A positive value indicates that obj2 is greater than obj1 and a negative value indicates the opposite.

-
Parameters:
- - - -
obj1The first object to be compared.
obj2The second object to be compared.
-
-
-
Returns:
The result of the comparison.
- -

Definition at line 39 of file bt.c.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void bt_delete (bt_treetree,
void * data 
)
-
-
- -

Definition at line 49 of file bt.c.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void* bt_find (bt_treetree,
void * data 
)
-
-
- -

Finds and returns the data from a node containing the given data.

-

This function uses the tree's compare function to search the tree for a node containing the given data. If a node containing the given data is found then the pointer to the contents of the node is returned. Otherwise a null pointer is returned.

-
Parameters:
- - - -
treeThe tree to be searched.
dataThe data to be searched for.
-
-
-
Returns:
Pointer to the found data.
- -

Definition at line 54 of file bt.c.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void bt_free (bt_treetree,
int free_contents 
)
-
-
- -

Frees the memory allocated for all nodes of a tree.

-

This function frees all memory associated with the given tree. If free_contents has a non-zero value then the contents pointer of each node will aslo be freed.

-
Parameters:
- - - -
treeThe tree to be freed.
free_contentsDetermines whether the contents pointers will be freed.
-
-
- -

Definition at line 34 of file bt.c.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void bt_insert (bt_treetree,
void * data 
)
-
-
- -

Inserts a new node into the tree.

-

This function uses the tree's compare function to traverse the tree until an existing node with the given data is found or until a leaf node is reached. If a node exists containing the given data then no insertion is performed. If a leaf node is reached then the a new leaf node is created and set as the left or right child of that leaf node.

-
Parameters:
- - - -
treeThe tree in which the node will be inserted.
dataThe data that the new node will contain.
-
-
- -

Definition at line 44 of file bt.c.

- -
-
- -
-
- - - - - - - - -
bt_tree* bt_new (bt_compare_func compare)
-
-
- -

Creates a new empty binary tree.

-

This function creates a new empty binary search tree with the given comparison function. The comparison function will be used during searching, insertions, and deletions, to find and traverse the tree.

-
Parameters:
- - -
compareThe function to use for comparing items in the tree.
-
-
-
Returns:
Pointer to the newly created tree.
- -

Definition at line 29 of file bt.c.

- -
-
-
-
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/bt_8c__incl.map b/docs/doxygen/html/bt_8c__incl.map deleted file mode 100644 index cd5f22b..0000000 --- a/docs/doxygen/html/bt_8c__incl.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/doxygen/html/bt_8c__incl.md5 b/docs/doxygen/html/bt_8c__incl.md5 deleted file mode 100644 index 2b0cb46..0000000 --- a/docs/doxygen/html/bt_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -39f16308d7e4e32fdc16d89e44160432 \ No newline at end of file diff --git a/docs/doxygen/html/bt_8c__incl.png b/docs/doxygen/html/bt_8c__incl.png deleted file mode 100644 index 2ec4a0c..0000000 Binary files a/docs/doxygen/html/bt_8c__incl.png and /dev/null differ diff --git a/docs/doxygen/html/bt_8c_source.html b/docs/doxygen/html/bt_8c_source.html deleted file mode 100644 index 979994a..0000000 --- a/docs/doxygen/html/bt_8c_source.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - -Data Structures: src/trees/binary/bt.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

src/trees/binary/bt.c

-
-
-Go to the documentation of this file.
00001 /******************************************************************************
-00002  * Copyright (c) 2012, Michael D. Lowis
-00003  * All rights reserved.
-00004  *
-00005  * Redistribution and use in source and binary forms, with or without
-00006  * modification, are permitted provided that the following conditions are met:
-00007  *
-00008  * * Redistributions of source code must retain the above copyright notice,
-00009  *   this list of conditions and the following disclaimer.
-00010  *
-00011  * * Redistributions in binary form must reproduce the above copyright notice,
-00012  *   this list of conditions and the following disclaimer in the documentation
-00013  *   and/or other materials provided with the distribution.
-00014  *
-00015  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-00016  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-00017  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-00018  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-00019  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-00020  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-00021  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-00022  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-00023  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-00024  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-00025  * POSSIBILITY OF SUCH DAMAGE.
-00026  *****************************************************************************/
-00027 #include "bt.h"
-00028 
-00029 bt_tree* bt_new(bt_compare_func compare)
-00030 {
-00031 
-00032 }
-00033 
-00034 void bt_free(bt_tree* tree, int free_contents)
-00035 {
-00036 
-00037 }
-00038 
-00039 int bt_compare_ptr(void* obj1, void* obj2)
-00040 {
-00041 
-00042 }
-00043 
-00044 void bt_insert(bt_tree* tree, void* data)
-00045 {
-00046 
-00047 }
-00048 
-00049 void bt_delete(bt_tree* tree, void* data)
-00050 {
-00051 
-00052 }
-00053 
-00054 void* bt_find(bt_tree* tree, void* data)
-00055 {
-00056 
-00057 }
-00058 
-
-
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/bt_8h.html b/docs/doxygen/html/bt_8h.html deleted file mode 100644 index e45315e..0000000 --- a/docs/doxygen/html/bt_8h.html +++ /dev/null @@ -1,433 +0,0 @@ - - - - -Data Structures: src/trees/binary/bt.h File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/trees/binary/bt.h File Reference

-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
- - -
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - -

-Classes

struct  bt_node
 A binary tree node. More...
struct  bt_tree
 A binary tree. More...

-Typedefs

typedef int(* bt_compare_func )(void *, void *)
 A function pointer for a comparison function.
typedef struct bt_node bt_node
 A binary tree node.
typedef struct bt_tree bt_tree
 A binary tree.

-Functions

bt_treebt_new (bt_compare_func compare)
 Creates a new empty binary tree.
void bt_free (bt_tree *tree, int free_contents)
 Frees the memory allocated for all nodes of a tree.
int bt_compare_ptr (void *obj1, void *obj2)
 Compares the value of two pointers.
void bt_insert (bt_tree *tree, void *data)
 Inserts a new node into the tree.
void bt_delete (bt_tree *tree, void *data, int free_contents)
 Deletes a node for the tree.
void * bt_find (bt_tree *tree, void *data)
 Finds and returns the data from a node containing the given data.
-

Typedef Documentation

- -
-
- - - - -
typedef int(* bt_compare_func)(void *, void *)
-
-
- -

A function pointer for a comparison function.

- -

Definition at line 31 of file bt.h.

- -
-
- -
-
- - - - -
typedef struct bt_node bt_node
-
-
- -

A binary tree node.

- -
-
- -
-
- - - - -
typedef struct bt_tree bt_tree
-
-
- -

A binary tree.

- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
int bt_compare_ptr (void * obj1,
void * obj2 
)
-
-
- -

Compares the value of two pointers.

-

This function takes two pointers and compares their values returning an integral value representing the result of the comparison. A return value of zero indicates the pointers are equal. A positive value indicates that obj2 is greater than obj1 and a negative value indicates the opposite.

-
Parameters:
- - - -
obj1The first object to be compared.
obj2The second object to be compared.
-
-
-
Returns:
The result of the comparison.
- -

Definition at line 39 of file bt.c.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void bt_delete (bt_treetree,
void * data,
int free_contents 
)
-
-
- -

Deletes a node for the tree.

-

This function uses the tree's compare function to search the tree for a node containing the given data. If a node containing the data is found then the node is freed otherwise no deletion is performed. If free_contents is passed a non-zero value then the contents pointer of the node is also freed.

-
Parameters:
- - - - -
treeThe tree from which the node will be deleted.
dataThe data to search for in the tree.
free_contentsDetermines whether the contents pointer will be freed.
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void* bt_find (bt_treetree,
void * data 
)
-
-
- -

Finds and returns the data from a node containing the given data.

-

This function uses the tree's compare function to search the tree for a node containing the given data. If a node containing the given data is found then the pointer to the contents of the node is returned. Otherwise a null pointer is returned.

-
Parameters:
- - - -
treeThe tree to be searched.
dataThe data to be searched for.
-
-
-
Returns:
Pointer to the found data.
- -

Definition at line 54 of file bt.c.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void bt_free (bt_treetree,
int free_contents 
)
-
-
- -

Frees the memory allocated for all nodes of a tree.

-

This function frees all memory associated with the given tree. If free_contents has a non-zero value then the contents pointer of each node will aslo be freed.

-
Parameters:
- - - -
treeThe tree to be freed.
free_contentsDetermines whether the contents pointers will be freed.
-
-
- -

Definition at line 34 of file bt.c.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void bt_insert (bt_treetree,
void * data 
)
-
-
- -

Inserts a new node into the tree.

-

This function uses the tree's compare function to traverse the tree until an existing node with the given data is found or until a leaf node is reached. If a node exists containing the given data then no insertion is performed. If a leaf node is reached then the a new leaf node is created and set as the left or right child of that leaf node.

-
Parameters:
- - - -
treeThe tree in which the node will be inserted.
dataThe data that the new node will contain.
-
-
- -

Definition at line 44 of file bt.c.

- -
-
- -
-
- - - - - - - - -
bt_tree* bt_new (bt_compare_func compare)
-
-
- -

Creates a new empty binary tree.

-

This function creates a new empty binary search tree with the given comparison function. The comparison function will be used during searching, insertions, and deletions, to find and traverse the tree.

-
Parameters:
- - -
compareThe function to use for comparing items in the tree.
-
-
-
Returns:
Pointer to the newly created tree.
- -

Definition at line 29 of file bt.c.

- -
-
-
-
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/bt_8h__dep__incl.map b/docs/doxygen/html/bt_8h__dep__incl.map deleted file mode 100644 index 1a088c4..0000000 --- a/docs/doxygen/html/bt_8h__dep__incl.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/doxygen/html/bt_8h__dep__incl.md5 b/docs/doxygen/html/bt_8h__dep__incl.md5 deleted file mode 100644 index a3588df..0000000 --- a/docs/doxygen/html/bt_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -0ad7ff5b2f75f3c4fd634b13a1a3332b \ No newline at end of file diff --git a/docs/doxygen/html/bt_8h__dep__incl.png b/docs/doxygen/html/bt_8h__dep__incl.png deleted file mode 100644 index edde292..0000000 Binary files a/docs/doxygen/html/bt_8h__dep__incl.png and /dev/null differ diff --git a/docs/doxygen/html/bt_8h_source.html b/docs/doxygen/html/bt_8h_source.html deleted file mode 100644 index 07aaa48..0000000 --- a/docs/doxygen/html/bt_8h_source.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - -Data Structures: src/trees/binary/bt.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

src/trees/binary/bt.h

-
-
-Go to the documentation of this file.
00001 /******************************************************************************
-00002  * Copyright (c) 2012, Michael D. Lowis
-00003  * All rights reserved.
-00004  *
-00005  * Redistribution and use in source and binary forms, with or without
-00006  * modification, are permitted provided that the following conditions are met:
-00007  *
-00008  * * Redistributions of source code must retain the above copyright notice,
-00009  *   this list of conditions and the following disclaimer.
-00010  *
-00011  * * Redistributions in binary form must reproduce the above copyright notice,
-00012  *   this list of conditions and the following disclaimer in the documentation
-00013  *   and/or other materials provided with the distribution.
-00014  *
-00015  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-00016  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-00017  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-00018  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-00019  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-00020  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-00021  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-00022  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-00023  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-00024  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-00025  * POSSIBILITY OF SUCH DAMAGE.
-00026  *****************************************************************************/
-00027 #ifndef BT_H
-00028 #define BT_H
-00029 
-00031 typedef int (* bt_compare_func) (void*,void*);
-00032 
-00034 typedef struct bt_node
-00035 {
-00037     void* contents;
-00039     struct bt_node* left;
-00041     struct bt_node* right;
-00042 } bt_node;
-00043 
-00045 typedef struct bt_tree
-00046 {
-00048     bt_node* root;
-00050     bt_compare_func compare;
-00051 } bt_tree;
-00052 
-00064 bt_tree* bt_new(bt_compare_func compare);
-00065 
-00076 void bt_free(bt_tree* tree, int free_contents);
-00077 
-00091 int bt_compare_ptr(void* obj1, void* obj2);
-00092 
-00105 void bt_insert(bt_tree* tree, void* data);
-00106 
-00119 void bt_delete(bt_tree* tree, void* data, int free_contents);
-00120 
-00134 void* bt_find(bt_tree* tree, void* data);
-00135 
-00136 #endif
-
-
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/classes.html b/docs/doxygen/html/classes.html deleted file mode 100644 index c5627cd..0000000 --- a/docs/doxygen/html/classes.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - -Data Structures: Class Index - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

Class Index

-
-
-
B | H | S
- -
  B  
-
bt_tree   ht_node   
  S  
-
sll_node   
bt_node   
  H  
-
ht_table   
B | H | S
-
-
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/closed.png b/docs/doxygen/html/closed.png deleted file mode 100644 index b7d4bd9..0000000 Binary files a/docs/doxygen/html/closed.png and /dev/null differ diff --git a/docs/doxygen/html/dll_8c.html b/docs/doxygen/html/dll_8c.html deleted file mode 100644 index 92c8c94..0000000 --- a/docs/doxygen/html/dll_8c.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - -Data Structures: src/lists/double_link/dll.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

src/lists/double_link/dll.c File Reference

-
- -
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/dll_8c_source.html b/docs/doxygen/html/dll_8c_source.html deleted file mode 100644 index d0cfb7f..0000000 --- a/docs/doxygen/html/dll_8c_source.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - -Data Structures: src/lists/double_link/dll.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

src/lists/double_link/dll.c

-
-
-Go to the documentation of this file.
00001 /******************************************************************************
-00002  * Copyright (c) 2012, Michael D. Lowis
-00003  * All rights reserved.
-00004  *
-00005  * Redistribution and use in source and binary forms, with or without
-00006  * modification, are permitted provided that the following conditions are met:
-00007  *
-00008  * * Redistributions of source code must retain the above copyright notice,
-00009  *   this list of conditions and the following disclaimer.
-00010  *
-00011  * * Redistributions in binary form must reproduce the above copyright notice,
-00012  *   this list of conditions and the following disclaimer in the documentation
-00013  *   and/or other materials provided with the distribution.
-00014  *
-00015  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-00016  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-00017  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-00018  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-00019  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-00020  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-00021  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-00022  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-00023  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-00024  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-00025  * POSSIBILITY OF SUCH DAMAGE.
-00026  *****************************************************************************/
-00027 
-
-
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/dll_8h.html b/docs/doxygen/html/dll_8h.html deleted file mode 100644 index 3aa837f..0000000 --- a/docs/doxygen/html/dll_8h.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - -Data Structures: src/lists/double_link/dll.h File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

src/lists/double_link/dll.h File Reference

-
- -
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/dll_8h_source.html b/docs/doxygen/html/dll_8h_source.html deleted file mode 100644 index e2a7c11..0000000 --- a/docs/doxygen/html/dll_8h_source.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - -Data Structures: src/lists/double_link/dll.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

src/lists/double_link/dll.h

-
-
-Go to the documentation of this file.
00001 /******************************************************************************
-00002  * Copyright (c) 2012, Michael D. Lowis
-00003  * All rights reserved.
-00004  *
-00005  * Redistribution and use in source and binary forms, with or without
-00006  * modification, are permitted provided that the following conditions are met:
-00007  *
-00008  * * Redistributions of source code must retain the above copyright notice,
-00009  *   this list of conditions and the following disclaimer.
-00010  *
-00011  * * Redistributions in binary form must reproduce the above copyright notice,
-00012  *   this list of conditions and the following disclaimer in the documentation
-00013  *   and/or other materials provided with the distribution.
-00014  *
-00015  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-00016  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-00017  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-00018  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-00019  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-00020  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-00021  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-00022  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-00023  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-00024  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-00025  * POSSIBILITY OF SUCH DAMAGE.
-00026  *****************************************************************************/
-00027 
-
-
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/doxygen.css b/docs/doxygen/html/doxygen.css deleted file mode 100644 index 101c7a5..0000000 --- a/docs/doxygen/html/doxygen.css +++ /dev/null @@ -1,800 +0,0 @@ -/* The standard CSS for doxygen */ - -body, table, div, p, dl { - font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif; - font-size: 12px; -} - -/* @group Heading Levels */ - -h1 { - font-size: 150%; -} - -h2 { - font-size: 120%; -} - -h3 { - font-size: 100%; -} - -dt { - font-weight: bold; -} - -div.multicol { - -moz-column-gap: 1em; - -webkit-column-gap: 1em; - -moz-column-count: 3; - -webkit-column-count: 3; -} - -p.startli, p.startdd, p.starttd { - margin-top: 2px; -} - -p.endli { - margin-bottom: 0px; -} - -p.enddd { - margin-bottom: 4px; -} - -p.endtd { - margin-bottom: 2px; -} - -/* @end */ - -caption { - font-weight: bold; -} - -span.legend { - font-size: 70%; - text-align: center; -} - -h3.version { - font-size: 90%; - text-align: center; -} - -div.qindex, div.navtab{ - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; - margin: 2px; - padding: 2px; -} - -div.qindex, div.navpath { - width: 100%; - line-height: 140%; -} - -div.navtab { - margin-right: 15px; -} - -/* @group Link Styling */ - -a { - color: #3D578C; - font-weight: normal; - text-decoration: none; -} - -.contents a:visited { - color: #4665A2; -} - -a:hover { - text-decoration: underline; -} - -a.qindex { - font-weight: bold; -} - -a.qindexHL { - font-weight: bold; - background-color: #9CAFD4; - color: #ffffff; - border: 1px double #869DCA; -} - -.contents a.qindexHL:visited { - color: #ffffff; -} - -a.el { - font-weight: bold; -} - -a.elRef { -} - -a.code { - color: #4665A2; -} - -a.codeRef { - color: #4665A2; -} - -/* @end */ - -dl.el { - margin-left: -1cm; -} - -.fragment { - font-family: monospace, fixed; - font-size: 105%; -} - -pre.fragment { - border: 1px solid #C4CFE5; - background-color: #FBFCFD; - padding: 4px 6px; - margin: 4px 8px 4px 2px; - overflow: auto; - word-wrap: break-word; - font-size: 9pt; - line-height: 125%; -} - -div.ah { - background-color: black; - font-weight: bold; - color: #ffffff; - margin-bottom: 3px; - margin-top: 3px; - padding: 0.2em; - border: solid thin #333; - border-radius: 0.5em; - -webkit-border-radius: .5em; - -moz-border-radius: .5em; - box-shadow: 2px 2px 3px #999; - -webkit-box-shadow: 2px 2px 3px #999; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); - background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); -} - -div.groupHeader { - margin-left: 16px; - margin-top: 12px; - font-weight: bold; -} - -div.groupText { - margin-left: 16px; - font-style: italic; -} - -body { - background: white; - color: black; - margin: 0; -} - -div.contents { - margin-top: 10px; - margin-left: 10px; - margin-right: 10px; -} - -td.indexkey { - background-color: #EBEFF6; - font-weight: bold; - border: 1px solid #C4CFE5; - margin: 2px 0px 2px 0; - padding: 2px 10px; -} - -td.indexvalue { - background-color: #EBEFF6; - border: 1px solid #C4CFE5; - padding: 2px 10px; - margin: 2px 0px; -} - -tr.memlist { - background-color: #EEF1F7; -} - -p.formulaDsp { - text-align: center; -} - -img.formulaDsp { - -} - -img.formulaInl { - vertical-align: middle; -} - -div.center { - text-align: center; - margin-top: 0px; - margin-bottom: 0px; - padding: 0px; -} - -div.center img { - border: 0px; -} - -address.footer { - text-align: right; - padding-right: 12px; -} - -img.footer { - border: 0px; - vertical-align: middle; -} - -/* @group Code Colorization */ - -span.keyword { - color: #008000 -} - -span.keywordtype { - color: #604020 -} - -span.keywordflow { - color: #e08000 -} - -span.comment { - color: #800000 -} - -span.preprocessor { - color: #806020 -} - -span.stringliteral { - color: #002080 -} - -span.charliteral { - color: #008080 -} - -span.vhdldigit { - color: #ff00ff -} - -span.vhdlchar { - color: #000000 -} - -span.vhdlkeyword { - color: #700070 -} - -span.vhdllogic { - color: #ff0000 -} - -/* @end */ - -/* -.search { - color: #003399; - font-weight: bold; -} - -form.search { - margin-bottom: 0px; - margin-top: 0px; -} - -input.search { - font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; -} -*/ - -td.tiny { - font-size: 75%; -} - -.dirtab { - padding: 4px; - border-collapse: collapse; - border: 1px solid #A3B4D7; -} - -th.dirtab { - background: #EBEFF6; - font-weight: bold; -} - -hr { - height: 0px; - border: none; - border-top: 1px solid #4A6AAA; -} - -hr.footer { - height: 1px; -} - -/* @group Member Descriptions */ - -table.memberdecls { - border-spacing: 0px; - padding: 0px; -} - -.mdescLeft, .mdescRight, -.memItemLeft, .memItemRight, -.memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background-color: #F9FAFC; - border: none; - margin: 4px; - padding: 1px 0 0 8px; -} - -.mdescLeft, .mdescRight { - padding: 0px 8px 4px 8px; - color: #555; -} - -.memItemLeft, .memItemRight, .memTemplParams { - border-top: 1px solid #C4CFE5; -} - -.memItemLeft, .memTemplItemLeft { - white-space: nowrap; -} - -.memTemplParams { - color: #4665A2; - white-space: nowrap; -} - -/* @end */ - -/* @group Member Details */ - -/* Styles for detailed member documentation */ - -.memtemplate { - font-size: 80%; - color: #4665A2; - font-weight: normal; - margin-left: 9px; -} - -.memnav { - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} - -.memitem { - padding: 0; - margin-bottom: 10px; -} - -.memname { - white-space: nowrap; - font-weight: bold; - margin-left: 6px; -} - -.memproto { - border-top: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 6px 0px 6px 0px; - color: #253555; - font-weight: bold; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - /* opera specific markup */ - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - border-top-right-radius: 8px; - border-top-left-radius: 8px; - /* firefox specific markup */ - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - -moz-border-radius-topright: 8px; - -moz-border-radius-topleft: 8px; - /* webkit specific markup */ - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - -webkit-border-top-right-radius: 8px; - -webkit-border-top-left-radius: 8px; - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #E2E8F2; - -} - -.memdoc { - border-bottom: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 2px 5px; - background-color: #FBFCFD; - border-top-width: 0; - /* opera specific markup */ - border-bottom-left-radius: 8px; - border-bottom-right-radius: 8px; - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - /* firefox specific markup */ - -moz-border-radius-bottomleft: 8px; - -moz-border-radius-bottomright: 8px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - background-image: -moz-linear-gradient(center top, #FFFFFF 0%, #FFFFFF 60%, #F7F8FB 95%, #EEF1F7); - /* webkit specific markup */ - -webkit-border-bottom-left-radius: 8px; - -webkit-border-bottom-right-radius: 8px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - background-image: -webkit-gradient(linear,center top,center bottom,from(#FFFFFF), color-stop(0.6,#FFFFFF), color-stop(0.60,#FFFFFF), color-stop(0.95,#F7F8FB), to(#EEF1F7)); -} - -.paramkey { - text-align: right; -} - -.paramtype { - white-space: nowrap; -} - -.paramname { - color: #602020; - white-space: nowrap; -} -.paramname em { - font-style: normal; -} - -.params, .retval, .exception, .tparams { - border-spacing: 6px 2px; -} - -.params .paramname, .retval .paramname { - font-weight: bold; - vertical-align: top; -} - -.params .paramtype { - font-style: italic; - vertical-align: top; -} - -.params .paramdir { - font-family: "courier new",courier,monospace; - vertical-align: top; -} - - - - -/* @end */ - -/* @group Directory (tree) */ - -/* for the tree view */ - -.ftvtree { - font-family: sans-serif; - margin: 0px; -} - -/* these are for tree view when used as main index */ - -.directory { - font-size: 9pt; - font-weight: bold; - margin: 5px; -} - -.directory h3 { - margin: 0px; - margin-top: 1em; - font-size: 11pt; -} - -/* -The following two styles can be used to replace the root node title -with an image of your choice. Simply uncomment the next two styles, -specify the name of your image and be sure to set 'height' to the -proper pixel height of your image. -*/ - -/* -.directory h3.swap { - height: 61px; - background-repeat: no-repeat; - background-image: url("yourimage.gif"); -} -.directory h3.swap span { - display: none; -} -*/ - -.directory > h3 { - margin-top: 0; -} - -.directory p { - margin: 0px; - white-space: nowrap; -} - -.directory div { - display: none; - margin: 0px; -} - -.directory img { - vertical-align: -30%; -} - -/* these are for tree view when not used as main index */ - -.directory-alt { - font-size: 100%; - font-weight: bold; -} - -.directory-alt h3 { - margin: 0px; - margin-top: 1em; - font-size: 11pt; -} - -.directory-alt > h3 { - margin-top: 0; -} - -.directory-alt p { - margin: 0px; - white-space: nowrap; -} - -.directory-alt div { - display: none; - margin: 0px; -} - -.directory-alt img { - vertical-align: -30%; -} - -/* @end */ - -div.dynheader { - margin-top: 8px; -} - -address { - font-style: normal; - color: #2A3D61; -} - -table.doxtable { - border-collapse:collapse; -} - -table.doxtable td, table.doxtable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -table.doxtable th { - background-color: #374F7F; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; - text-align:left; -} - -.tabsearch { - top: 0px; - left: 10px; - height: 36px; - background-image: url('tab_b.png'); - z-index: 101; - overflow: hidden; - font-size: 13px; -} - -.navpath ul -{ - font-size: 11px; - background-image:url('tab_b.png'); - background-repeat:repeat-x; - height:30px; - line-height:30px; - color:#8AA0CC; - border:solid 1px #C2CDE4; - overflow:hidden; - margin:0px; - padding:0px; -} - -.navpath li -{ - list-style-type:none; - float:left; - padding-left:10px; - padding-right:15px; - background-image:url('bc_s.png'); - background-repeat:no-repeat; - background-position:right; - color:#364D7C; -} - -.navpath li.navelem a -{ - height:32px; - display:block; - text-decoration: none; - outline: none; -} - -.navpath li.navelem a:hover -{ - color:#6884BD; -} - -.navpath li.footer -{ - list-style-type:none; - float:right; - padding-left:10px; - padding-right:15px; - background-image:none; - background-repeat:no-repeat; - background-position:right; - color:#364D7C; - font-size: 8pt; -} - - -div.summary -{ - float: right; - font-size: 8pt; - padding-right: 5px; - width: 50%; - text-align: right; -} - -div.summary a -{ - white-space: nowrap; -} - -div.ingroups -{ - font-size: 8pt; - padding-left: 5px; - width: 50%; - text-align: left; -} - -div.ingroups a -{ - white-space: nowrap; -} - -div.header -{ - background-image:url('nav_h.png'); - background-repeat:repeat-x; - background-color: #F9FAFC; - margin: 0px; - border-bottom: 1px solid #C4CFE5; -} - -div.headertitle -{ - padding: 5px 5px 5px 10px; -} - -dl -{ - padding: 0 0 0 10px; -} - -dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug -{ - border-left:4px solid; - padding: 0 0 0 6px; -} - -dl.note -{ - border-color: #D0D000; -} - -dl.warning, dl.attention -{ - border-color: #FF0000; -} - -dl.pre, dl.post, dl.invariant -{ - border-color: #00D000; -} - -dl.deprecated -{ - border-color: #505050; -} - -dl.todo -{ - border-color: #00C0E0; -} - -dl.test -{ - border-color: #3030E0; -} - -dl.bug -{ - border-color: #C08050; -} - -#projectlogo -{ - text-align: center; - vertical-align: bottom; - border-collapse: separate; -} - -#projectlogo img -{ - border: 0px none; -} - -#projectname -{ - font: 300% arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#projectbrief -{ - font: 120% arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#projectnumber -{ - font: 50% arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#titlearea -{ - padding: 0px; - margin: 0px; - width: 100%; - border-bottom: 1px solid #5373B4; -} - diff --git a/docs/doxygen/html/doxygen.png b/docs/doxygen/html/doxygen.png deleted file mode 100644 index 635ed52..0000000 Binary files a/docs/doxygen/html/doxygen.png and /dev/null differ diff --git a/docs/doxygen/html/files.html b/docs/doxygen/html/files.html deleted file mode 100644 index 4d45af9..0000000 --- a/docs/doxygen/html/files.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - -Data Structures: File List - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

File List

-
-
-
Here is a list of all files with brief descriptions:
- - - - - - - - - - - - -
src/ht/ht.c [code]
src/ht/ht.h [code]
src/lists/double_link/dll.c [code]
src/lists/double_link/dll.h [code]
src/lists/single_link/sll.c [code]
src/lists/single_link/sll.h [code]
src/trees/avl/avl.c [code]
src/trees/avl/avl.h [code]
src/trees/binary/bt.c [code]
src/trees/binary/bt.h [code]
src/trees/redblack/rbt.c [code]
src/trees/redblack/rbt.h [code]
-
-
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/ftv2blank.png b/docs/doxygen/html/ftv2blank.png deleted file mode 100644 index 3b7a29c..0000000 Binary files a/docs/doxygen/html/ftv2blank.png and /dev/null differ diff --git a/docs/doxygen/html/ftv2doc.png b/docs/doxygen/html/ftv2doc.png deleted file mode 100644 index 310e441..0000000 Binary files a/docs/doxygen/html/ftv2doc.png and /dev/null differ diff --git a/docs/doxygen/html/ftv2folderclosed.png b/docs/doxygen/html/ftv2folderclosed.png deleted file mode 100644 index 79aeaf7..0000000 Binary files a/docs/doxygen/html/ftv2folderclosed.png and /dev/null differ diff --git a/docs/doxygen/html/ftv2folderopen.png b/docs/doxygen/html/ftv2folderopen.png deleted file mode 100644 index 1b703dd..0000000 Binary files a/docs/doxygen/html/ftv2folderopen.png and /dev/null differ diff --git a/docs/doxygen/html/ftv2lastnode.png b/docs/doxygen/html/ftv2lastnode.png deleted file mode 100644 index 3b7a29c..0000000 Binary files a/docs/doxygen/html/ftv2lastnode.png and /dev/null differ diff --git a/docs/doxygen/html/ftv2link.png b/docs/doxygen/html/ftv2link.png deleted file mode 100644 index 310e441..0000000 Binary files a/docs/doxygen/html/ftv2link.png and /dev/null differ diff --git a/docs/doxygen/html/ftv2mlastnode.png b/docs/doxygen/html/ftv2mlastnode.png deleted file mode 100644 index ec51f17..0000000 Binary files a/docs/doxygen/html/ftv2mlastnode.png and /dev/null differ diff --git a/docs/doxygen/html/ftv2mnode.png b/docs/doxygen/html/ftv2mnode.png deleted file mode 100644 index ec51f17..0000000 Binary files a/docs/doxygen/html/ftv2mnode.png and /dev/null differ diff --git a/docs/doxygen/html/ftv2node.png b/docs/doxygen/html/ftv2node.png deleted file mode 100644 index 3b7a29c..0000000 Binary files a/docs/doxygen/html/ftv2node.png and /dev/null differ diff --git a/docs/doxygen/html/ftv2plastnode.png b/docs/doxygen/html/ftv2plastnode.png deleted file mode 100644 index 270a965..0000000 Binary files a/docs/doxygen/html/ftv2plastnode.png and /dev/null differ diff --git a/docs/doxygen/html/ftv2pnode.png b/docs/doxygen/html/ftv2pnode.png deleted file mode 100644 index 270a965..0000000 Binary files a/docs/doxygen/html/ftv2pnode.png and /dev/null differ diff --git a/docs/doxygen/html/ftv2splitbar.png b/docs/doxygen/html/ftv2splitbar.png deleted file mode 100644 index f60a527..0000000 Binary files a/docs/doxygen/html/ftv2splitbar.png and /dev/null differ diff --git a/docs/doxygen/html/ftv2vertline.png b/docs/doxygen/html/ftv2vertline.png deleted file mode 100644 index 3b7a29c..0000000 Binary files a/docs/doxygen/html/ftv2vertline.png and /dev/null differ diff --git a/docs/doxygen/html/functions.html b/docs/doxygen/html/functions.html deleted file mode 100644 index 939727b..0000000 --- a/docs/doxygen/html/functions.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - -Data Structures: Class Members - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - - -
-
- -
-
-
- -
-
-
Here is a list of all class members with links to the classes they belong to:
-
-
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/functions_vars.html b/docs/doxygen/html/functions_vars.html deleted file mode 100644 index 0c5e9ff..0000000 --- a/docs/doxygen/html/functions_vars.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - -Data Structures: Class Members - Variables - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - - -
-
- -
-
-
- -
-
-
-
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/globals.html b/docs/doxygen/html/globals.html deleted file mode 100644 index 9d1737f..0000000 --- a/docs/doxygen/html/globals.html +++ /dev/null @@ -1,253 +0,0 @@ - - - - -Data Structures: File Members - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - - - -
-
- -
-
-
- -
-
-
Here is a list of all file members with links to the files they belong to:
- -

- b -

- - -

- h -

- - -

- s -

-
-
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/globals_func.html b/docs/doxygen/html/globals_func.html deleted file mode 100644 index 0956072..0000000 --- a/docs/doxygen/html/globals_func.html +++ /dev/null @@ -1,235 +0,0 @@ - - - - -Data Structures: File Members - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - - - -
-
- -
-
-
- -
-
-  - -

- b -

- - -

- h -

- - -

- s -

-
-
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/globals_type.html b/docs/doxygen/html/globals_type.html deleted file mode 100644 index 8f43b6e..0000000 --- a/docs/doxygen/html/globals_type.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - -Data Structures: File Members - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - - -
-
- -
-
-
- -
-
    -
  • bt_compare_func -: bt.h -
  • -
  • bt_node -: bt.h -
  • -
  • bt_tree -: bt.h -
  • -
  • ht_hash_func -: ht.h -
  • -
  • ht_node -: ht.h -
  • -
  • sll_node -: sll.h -
  • -
-
-
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/graph_legend.html b/docs/doxygen/html/graph_legend.html deleted file mode 100644 index 31f19c9..0000000 --- a/docs/doxygen/html/graph_legend.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - -Data Structures: Graph Legend - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- -
-
- -
-
-
- -
-
-
-

Graph Legend

-
-
-

This page explains how to interpret the graphs that are generated by doxygen.

-

Consider the following example:

-
/*! Invisible class because of truncation */
-class Invisible { };
-
-/*! Truncated class, inheritance relation is hidden */
-class Truncated : public Invisible { };
-
-/* Class not documented with doxygen comments */
-class Undocumented { };
-
-/*! Class that is inherited using public inheritance */
-class PublicBase : public Truncated { };
-
-/*! A template class */
-template<class T> class Templ { };
-
-/*! Class that is inherited using protected inheritance */
-class ProtectedBase { };
-
-/*! Class that is inherited using private inheritance */
-class PrivateBase { };
-
-/*! Class that is used by the Inherited class */
-class Used { };
-
-/*! Super class that inherits a number of other classes */
-class Inherited : public PublicBase,
-                  protected ProtectedBase,
-                  private PrivateBase,
-                  public Undocumented,
-                  public Templ<int>
-{
-  private:
-    Used *m_usedClass;
-};
-

This will result in the following graph:

-
-graph_legend.png -
-

The boxes in the above graph have the following meaning:

-
    -
  • -A filled gray box represents the struct or class for which the graph is generated.
  • -
  • -A box with a black border denotes a documented struct or class.
  • -
  • -A box with a grey border denotes an undocumented struct or class.
  • -
  • -A box with a red border denotes a documented struct or class forwhich not all inheritance/containment relations are shown. A graph is truncated if it does not fit within the specified boundaries.
  • -
-

The arrows have the following meaning:

-
    -
  • -A dark blue arrow is used to visualize a public inheritance relation between two classes.
  • -
  • -A dark green arrow is used for protected inheritance.
  • -
  • -A dark red arrow is used for private inheritance.
  • -
  • -A purple dashed arrow is used if a class is contained or used by another class. The arrow is labeled with the variable(s) through which the pointed class or struct is accessible.
  • -
  • -A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labeled with the template parameters of the instance.
  • -
-
-
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/graph_legend.md5 b/docs/doxygen/html/graph_legend.md5 deleted file mode 100644 index 9d509f3..0000000 --- a/docs/doxygen/html/graph_legend.md5 +++ /dev/null @@ -1 +0,0 @@ -9fbb782f23f919c0064b8f454a56ede8 \ No newline at end of file diff --git a/docs/doxygen/html/graph_legend.png b/docs/doxygen/html/graph_legend.png deleted file mode 100644 index 29647bc..0000000 Binary files a/docs/doxygen/html/graph_legend.png and /dev/null differ diff --git a/docs/doxygen/html/ht_8c.html b/docs/doxygen/html/ht_8c.html deleted file mode 100644 index 1fefc95..0000000 --- a/docs/doxygen/html/ht_8c.html +++ /dev/null @@ -1,432 +0,0 @@ - - - - -Data Structures: src/ht/ht.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/ht/ht.c File Reference

-
-
-
#include "ht.h"
-#include <stdlib.h>
-#include <string.h>
-#include <stdio.h>
-
-Include dependency graph for ht.c:
-
-
- - -
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - -

-Functions

unsigned int ht_hash_string (void *key)
 Takes a string key value and returns it's hashed value.
ht_tableht_new (unsigned int size, ht_hash_func fn)
 Creates a new hash table.
void ht_free (ht_table *table, int free_key, int free_value)
 Frees all memory used by the provided hash table.
void ht_put (ht_table *table, void *key, void *val)
void * ht_get (ht_table *table, void *key)
void ht_delete (ht_table *table, void *key, int free_key, int free_value)
 Deletes a key/value pair from the provided hash table.
ht_tableht_resize (ht_table *table, unsigned int size)
 Resizes the underlying table used for storing key/value pairs.
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void ht_delete (ht_tabletable,
void * key,
int free_key,
int free_value 
)
-
-
- -

Deletes a key/value pair from the provided hash table.

-

This function looks up an entry in the table by hashing the key with the table's hash function. If an entry is found then the memory allocated for the entry is freed. If free_key or free_value are non-zero values then the key or value pointers are freed respectively.

-
Parameters:
- - - - - -
tableThe table from which the key/value pait will be deleted.
keyThe key for the key/value pair to be deleted.
free_keyDetermines whether the key pointer will be freed.
free_valueDetermines whether the value pointer will be freed.
-
-
- -

Definition at line 125 of file ht.c.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void ht_free (ht_tabletable,
int free_key,
int free_value 
)
-
-
- -

Frees all memory used by the provided hash table.

-

This function frees all memory allocated for the given table. If free_key or free_value are non-zero values then the key or value pointers are freed respectively.

-
Parameters:
- - - - -
tableThe table to be freed.
free_keyDetermines whether the key pointers will be freed.
free_valueDetermines whether the value pointers will be freed.
-
-
- -

Definition at line 55 of file ht.c.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void* ht_get (ht_tabletable,
void * key 
)
-
-
- -

Definition at line 108 of file ht.c.

- -
-
- -
-
- - - - - - - - -
unsigned int ht_hash_string (void * key)
-
-
- -

Takes a string key value and returns it's hashed value.

-

This function takes a pointer to a string and returns a hash value based on the contents of the string.

-
Parameters:
- - -
keyPointer to the string to hash.
-
-
-
Returns:
The hashed value of the key.
- -

Definition at line 32 of file ht.c.

- -

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
ht_table* ht_new (unsigned int size,
ht_hash_func fn 
)
-
-
- -

Creates a new hash table.

-

This fucntion creates a new empty hash table with an internal lookup table of the given size and the desired hash function. The hash function will be used for insertion, deletion, and lookup of elements within the table. If the hash function pointer is null then ht_hash_string is used.

-
Parameters:
- - - -
sizeThe size of the table to use for storing data.
fnThe function to use for hasing keys.
-
-
-
Returns:
The newly created table.
- -

Definition at line 44 of file ht.c.

- -

-Here is the call graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void ht_put (ht_tabletable,
void * key,
void * val 
)
-
-
- -

Definition at line 73 of file ht.c.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
ht_table* ht_resize (ht_tabletable,
unsigned int size 
)
-
-
- -

Resizes the underlying table used for storing key/value pairs.

-

This function allocates a new internal lookup table of the given size to replace the internal table for the provided hash table. After the new talbe is created, all entries from the old table are rehahsed and inserted into the new lookup table. The new lookup table then replaces the old lookup table and the old lookup table is freed.

-
Parameters:
- - - -
tableThe table to be resized.
sizeThe new size for the table.
-
-
-
Returns:
A pointer to the resized table.
- -

Definition at line 130 of file ht.c.

- -
-
-
-
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/ht_8c__incl.map b/docs/doxygen/html/ht_8c__incl.map deleted file mode 100644 index 4fcc14d..0000000 --- a/docs/doxygen/html/ht_8c__incl.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/doxygen/html/ht_8c__incl.md5 b/docs/doxygen/html/ht_8c__incl.md5 deleted file mode 100644 index 3bf68ad..0000000 --- a/docs/doxygen/html/ht_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -0d945b54909b7d67e39d0247baa8beef \ No newline at end of file diff --git a/docs/doxygen/html/ht_8c__incl.png b/docs/doxygen/html/ht_8c__incl.png deleted file mode 100644 index 82f5318..0000000 Binary files a/docs/doxygen/html/ht_8c__incl.png and /dev/null differ diff --git a/docs/doxygen/html/ht_8c_a0a3e03a29413673acd8899d250cd0844_cgraph.map b/docs/doxygen/html/ht_8c_a0a3e03a29413673acd8899d250cd0844_cgraph.map deleted file mode 100644 index b3a1cbb..0000000 --- a/docs/doxygen/html/ht_8c_a0a3e03a29413673acd8899d250cd0844_cgraph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/doxygen/html/ht_8c_a0a3e03a29413673acd8899d250cd0844_cgraph.md5 b/docs/doxygen/html/ht_8c_a0a3e03a29413673acd8899d250cd0844_cgraph.md5 deleted file mode 100644 index 9bb389a..0000000 --- a/docs/doxygen/html/ht_8c_a0a3e03a29413673acd8899d250cd0844_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -469783c1857002752ad7417a00ef96da \ No newline at end of file diff --git a/docs/doxygen/html/ht_8c_a0a3e03a29413673acd8899d250cd0844_cgraph.png b/docs/doxygen/html/ht_8c_a0a3e03a29413673acd8899d250cd0844_cgraph.png deleted file mode 100644 index 9184b2f..0000000 Binary files a/docs/doxygen/html/ht_8c_a0a3e03a29413673acd8899d250cd0844_cgraph.png and /dev/null differ diff --git a/docs/doxygen/html/ht_8c_a278174a0154a10b8b10b23937ca4c721_icgraph.map b/docs/doxygen/html/ht_8c_a278174a0154a10b8b10b23937ca4c721_icgraph.map deleted file mode 100644 index 558618d..0000000 --- a/docs/doxygen/html/ht_8c_a278174a0154a10b8b10b23937ca4c721_icgraph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/doxygen/html/ht_8c_a278174a0154a10b8b10b23937ca4c721_icgraph.md5 b/docs/doxygen/html/ht_8c_a278174a0154a10b8b10b23937ca4c721_icgraph.md5 deleted file mode 100644 index 0ce7356..0000000 --- a/docs/doxygen/html/ht_8c_a278174a0154a10b8b10b23937ca4c721_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -a664916197e72d71cb6ce0dfa272dc10 \ No newline at end of file diff --git a/docs/doxygen/html/ht_8c_a278174a0154a10b8b10b23937ca4c721_icgraph.png b/docs/doxygen/html/ht_8c_a278174a0154a10b8b10b23937ca4c721_icgraph.png deleted file mode 100644 index ea72202..0000000 Binary files a/docs/doxygen/html/ht_8c_a278174a0154a10b8b10b23937ca4c721_icgraph.png and /dev/null differ diff --git a/docs/doxygen/html/ht_8c_source.html b/docs/doxygen/html/ht_8c_source.html deleted file mode 100644 index 1c9f5fe..0000000 --- a/docs/doxygen/html/ht_8c_source.html +++ /dev/null @@ -1,244 +0,0 @@ - - - - -Data Structures: src/ht/ht.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

src/ht/ht.c

-
-
-Go to the documentation of this file.
00001 /******************************************************************************
-00002  * Copyright (c) 2012, Michael D. Lowis
-00003  * All rights reserved.
-00004  *
-00005  * Redistribution and use in source and binary forms, with or without
-00006  * modification, are permitted provided that the following conditions are met:
-00007  *
-00008  * * Redistributions of source code must retain the above copyright notice,
-00009  *   this list of conditions and the following disclaimer.
-00010  *
-00011  * * Redistributions in binary form must reproduce the above copyright notice,
-00012  *   this list of conditions and the following disclaimer in the documentation
-00013  *   and/or other materials provided with the distribution.
-00014  *
-00015  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-00016  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-00017  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-00018  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-00019  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-00020  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-00021  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-00022  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-00023  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-00024  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-00025  * POSSIBILITY OF SUCH DAMAGE.
-00026  *****************************************************************************/
-00027 #include "ht.h"
-00028 #include <stdlib.h>
-00029 #include <string.h>
-00030 #include <stdio.h>
-00031 
-00032 unsigned int ht_hash_string(void* key)
-00033 {
-00034     char* key_str = (char*)key;
-00035     unsigned int hash = 0;
-00036     int i = 0;
-00037     for (i = 0; key_str[i] != '\0'; i++)
-00038     {
-00039         hash += key_str[i];
-00040     }
-00041     return hash;
-00042 }
-00043 
-00044 ht_table* ht_new(unsigned int size, ht_hash_func fn)
-00045 {
-00046     unsigned int table_size = size * sizeof(ht_node*);
-00047     ht_table* table = (ht_table*) malloc( sizeof(ht_table) );
-00048     table->size = size;
-00049     table->table = (ht_node**) malloc( table_size );
-00050     table->hash_func = (fn != NULL) ? fn : ht_hash_string;
-00051     memset(table->table, 0, table_size);
-00052     return table;
-00053 }
-00054 
-00055 void ht_free(ht_table* table, int free_key, int free_value)
-00056 {
-00057     int i = 0;
-00058     for (i = 0; i < table->size; i++)
-00059     {
-00060         ht_node* cur = table->table[i];
-00061         while (cur != NULL)
-00062         {
-00063             printf("Index: %d\tKey: %s\tVal: %#x\tNext: %#x\n", i, cur->key, (int)cur->val, (int)cur->next);
-00064             ht_node* next = cur->next;
-00065             free( cur->key );
-00066             free( cur->val );
-00067             free( cur );
-00068             cur = next;
-00069         }
-00070     }
-00071 }
-00072 
-00073 void ht_put(ht_table* table, void* key, void* val)
-00074 {
-00075     unsigned int index = table->hash_func( key ) % table->size;
-00076     ht_node* cur = table->table[index];
-00077     ht_node* last = cur;
-00078 
-00079     while (cur != NULL)
-00080     {
-00081         if ( !strcmp( key, cur->key ) )
-00082         {
-00083             cur->val = val;
-00084             break;
-00085         }
-00086         last = cur;
-00087         cur = cur->next;
-00088     }
-00089 
-00090     if (cur == NULL)
-00091     {
-00092         ht_node* node = (ht_node*) malloc( sizeof(ht_node) );
-00093         node->key = (char*) strdup( key );
-00094         node->val = val;
-00095         node->next = NULL;
-00096 
-00097         if (last != NULL)
-00098         {
-00099             last->next = node;
-00100         }
-00101         else
-00102         {
-00103             table->table[ index ] = node;
-00104         }
-00105     }
-00106 }
-00107 
-00108 void* ht_get(ht_table* table, void* key)
-00109 {
-00110     void* ret = NULL;
-00111     unsigned int index= table->hash_func( key ) % table->size;
-00112     ht_node* node = table->table[ index ];
-00113     while ( node != NULL )
-00114     {
-00115         if ( !strcmp( key, node->key ) )
-00116         {
-00117             ret = node->val;
-00118             break;
-00119         }
-00120         node = node->next;
-00121     }
-00122     return ret;
-00123 }
-00124 
-00125 void ht_delete(ht_table* table, void* key, int free_key, int free_value)
-00126 {
-00127     return 0;
-00128 }
-00129 
-00130 ht_table* ht_resize(ht_table* table, unsigned int size)
-00131 {
-00132     return 0;
-00133 }
-00134 
-
-
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/ht_8h.html b/docs/doxygen/html/ht_8h.html deleted file mode 100644 index 16c3323..0000000 --- a/docs/doxygen/html/ht_8h.html +++ /dev/null @@ -1,496 +0,0 @@ - - - - -Data Structures: src/ht/ht.h File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/ht/ht.h File Reference

-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
- - -
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - -

-Classes

struct  ht_node
 A node in a hash table. More...
struct  ht_table
 A hash table. More...

-Typedefs

typedef unsigned int(* ht_hash_func )(void *)
 Hash function for hashing keys in a hash table.
typedef struct ht_node ht_node
 A node in a hash table.

-Functions

unsigned int ht_hash_string (void *key)
 Takes a string key value and returns it's hashed value.
ht_tableht_new (unsigned int size, ht_hash_func fn)
 Creates a new hash table.
void ht_free (ht_table *table, int free_key, int free_value)
 Frees all memory used by the provided hash table.
void ht_insert (ht_table *table, void *key, void *val)
 Inserts a key/value pair into the provided table.
void * ht_find (ht_table *table, void *key)
 Retrieves a value from the provided table.
void ht_delete (ht_table *table, void *key, int free_key, int free_value)
 Deletes a key/value pair from the provided hash table.
ht_tableht_resize (ht_table *table, unsigned int size)
 Resizes the underlying table used for storing key/value pairs.
-

Typedef Documentation

- -
-
- - - - -
typedef unsigned int(* ht_hash_func)(void *)
-
-
- -

Hash function for hashing keys in a hash table.

- -

Definition at line 31 of file ht.h.

- -
-
- -
-
- - - - -
typedef struct ht_node ht_node
-
-
- -

A node in a hash table.

- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void ht_delete (ht_tabletable,
void * key,
int free_key,
int free_value 
)
-
-
- -

Deletes a key/value pair from the provided hash table.

-

This function looks up an entry in the table by hashing the key with the table's hash function. If an entry is found then the memory allocated for the entry is freed. If free_key or free_value are non-zero values then the key or value pointers are freed respectively.

-
Parameters:
- - - - - -
tableThe table from which the key/value pait will be deleted.
keyThe key for the key/value pair to be deleted.
free_keyDetermines whether the key pointer will be freed.
free_valueDetermines whether the value pointer will be freed.
-
-
- -

Definition at line 125 of file ht.c.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void* ht_find (ht_tabletable,
void * key 
)
-
-
- -

Retrieves a value from the provided table.

-

This function looks up an entry in the table by hashing the key with the table's hash function. It then returns the pointer to the value of the found entry or a null pointer if no entry was found.

-
Parameters:
- - - -
tableThe table in which to find the associated value.
keyThe key to lookup.
-
-
-
Returns:
A pointer to the value associated with the provided key.
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void ht_free (ht_tabletable,
int free_key,
int free_value 
)
-
-
- -

Frees all memory used by the provided hash table.

-

This function frees all memory allocated for the given table. If free_key or free_value are non-zero values then the key or value pointers are freed respectively.

-
Parameters:
- - - - -
tableThe table to be freed.
free_keyDetermines whether the key pointers will be freed.
free_valueDetermines whether the value pointers will be freed.
-
-
- -

Definition at line 55 of file ht.c.

- -
-
- -
-
- - - - - - - - -
unsigned int ht_hash_string (void * key)
-
-
- -

Takes a string key value and returns it's hashed value.

-

This function takes a pointer to a string and returns a hash value based on the contents of the string.

-
Parameters:
- - -
keyPointer to the string to hash.
-
-
-
Returns:
The hashed value of the key.
- -

Definition at line 32 of file ht.c.

- -

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void ht_insert (ht_tabletable,
void * key,
void * val 
)
-
-
- -

Inserts a key/value pair into the provided table.

-

This function inserts a new entry into the provided table containing the provided key and value pointers. The entry is placed in the table by hashing the key with the provided table's hash function. If an entry with an identical key exists, then the value pointer for that entry is changed to the provided value pointer. If free_value is a non-zero value then the old value pointer is also freed.

-
Parameters:
- - - - - -
tableThe table to be freed.
keyThe key for the associated value.
valThe value to be associated with the key.
free_valueDetermines whether or not to free the old value pointer.
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
ht_table* ht_new (unsigned int size,
ht_hash_func fn 
)
-
-
- -

Creates a new hash table.

-

This fucntion creates a new empty hash table with an internal lookup table of the given size and the desired hash function. The hash function will be used for insertion, deletion, and lookup of elements within the table. If the hash function pointer is null then ht_hash_string is used.

-
Parameters:
- - - -
sizeThe size of the table to use for storing data.
fnThe function to use for hasing keys.
-
-
-
Returns:
The newly created table.
- -

Definition at line 44 of file ht.c.

- -

-Here is the call graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
ht_table* ht_resize (ht_tabletable,
unsigned int size 
)
-
-
- -

Resizes the underlying table used for storing key/value pairs.

-

This function allocates a new internal lookup table of the given size to replace the internal table for the provided hash table. After the new talbe is created, all entries from the old table are rehahsed and inserted into the new lookup table. The new lookup table then replaces the old lookup table and the old lookup table is freed.

-
Parameters:
- - - -
tableThe table to be resized.
sizeThe new size for the table.
-
-
-
Returns:
A pointer to the resized table.
- -

Definition at line 130 of file ht.c.

- -
-
-
-
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/ht_8h__dep__incl.map b/docs/doxygen/html/ht_8h__dep__incl.map deleted file mode 100644 index 215d586..0000000 --- a/docs/doxygen/html/ht_8h__dep__incl.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/doxygen/html/ht_8h__dep__incl.md5 b/docs/doxygen/html/ht_8h__dep__incl.md5 deleted file mode 100644 index 33b1b52..0000000 --- a/docs/doxygen/html/ht_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -c07020baf054332f7862792ab96ec926 \ No newline at end of file diff --git a/docs/doxygen/html/ht_8h__dep__incl.png b/docs/doxygen/html/ht_8h__dep__incl.png deleted file mode 100644 index 65bf8d0..0000000 Binary files a/docs/doxygen/html/ht_8h__dep__incl.png and /dev/null differ diff --git a/docs/doxygen/html/ht_8h_a0a3e03a29413673acd8899d250cd0844_cgraph.map b/docs/doxygen/html/ht_8h_a0a3e03a29413673acd8899d250cd0844_cgraph.map deleted file mode 100644 index b3a1cbb..0000000 --- a/docs/doxygen/html/ht_8h_a0a3e03a29413673acd8899d250cd0844_cgraph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/doxygen/html/ht_8h_a0a3e03a29413673acd8899d250cd0844_cgraph.md5 b/docs/doxygen/html/ht_8h_a0a3e03a29413673acd8899d250cd0844_cgraph.md5 deleted file mode 100644 index 9bb389a..0000000 --- a/docs/doxygen/html/ht_8h_a0a3e03a29413673acd8899d250cd0844_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -469783c1857002752ad7417a00ef96da \ No newline at end of file diff --git a/docs/doxygen/html/ht_8h_a0a3e03a29413673acd8899d250cd0844_cgraph.png b/docs/doxygen/html/ht_8h_a0a3e03a29413673acd8899d250cd0844_cgraph.png deleted file mode 100644 index 9184b2f..0000000 Binary files a/docs/doxygen/html/ht_8h_a0a3e03a29413673acd8899d250cd0844_cgraph.png and /dev/null differ diff --git a/docs/doxygen/html/ht_8h_a278174a0154a10b8b10b23937ca4c721_icgraph.map b/docs/doxygen/html/ht_8h_a278174a0154a10b8b10b23937ca4c721_icgraph.map deleted file mode 100644 index 558618d..0000000 --- a/docs/doxygen/html/ht_8h_a278174a0154a10b8b10b23937ca4c721_icgraph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/doxygen/html/ht_8h_a278174a0154a10b8b10b23937ca4c721_icgraph.md5 b/docs/doxygen/html/ht_8h_a278174a0154a10b8b10b23937ca4c721_icgraph.md5 deleted file mode 100644 index 0ce7356..0000000 --- a/docs/doxygen/html/ht_8h_a278174a0154a10b8b10b23937ca4c721_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -a664916197e72d71cb6ce0dfa272dc10 \ No newline at end of file diff --git a/docs/doxygen/html/ht_8h_a278174a0154a10b8b10b23937ca4c721_icgraph.png b/docs/doxygen/html/ht_8h_a278174a0154a10b8b10b23937ca4c721_icgraph.png deleted file mode 100644 index ea72202..0000000 Binary files a/docs/doxygen/html/ht_8h_a278174a0154a10b8b10b23937ca4c721_icgraph.png and /dev/null differ diff --git a/docs/doxygen/html/ht_8h_source.html b/docs/doxygen/html/ht_8h_source.html deleted file mode 100644 index b691fd5..0000000 --- a/docs/doxygen/html/ht_8h_source.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - -Data Structures: src/ht/ht.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

src/ht/ht.h

-
-
-Go to the documentation of this file.
00001 /******************************************************************************
-00002  * Copyright (c) 2012, Michael D. Lowis
-00003  * All rights reserved.
-00004  *
-00005  * Redistribution and use in source and binary forms, with or without
-00006  * modification, are permitted provided that the following conditions are met:
-00007  *
-00008  * * Redistributions of source code must retain the above copyright notice,
-00009  *   this list of conditions and the following disclaimer.
-00010  *
-00011  * * Redistributions in binary form must reproduce the above copyright notice,
-00012  *   this list of conditions and the following disclaimer in the documentation
-00013  *   and/or other materials provided with the distribution.
-00014  *
-00015  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-00016  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-00017  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-00018  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-00019  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-00020  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-00021  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-00022  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-00023  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-00024  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-00025  * POSSIBILITY OF SUCH DAMAGE.
-00026  *****************************************************************************/
-00027 #ifndef HT_H
-00028 #define HT_H
-00029 
-00031 typedef unsigned int (*ht_hash_func) (void*);
-00032 
-00034 typedef struct ht_node
-00035 {
-00037     void* key;
-00039     void* val;
-00041     struct node* next;
-00042 } ht_node;
-00043 
-00045 typedef struct
-00046 {
-00048     unsigned int size;
-00050     ht_node** table;
-00052     ht_hash_func hash_func;
-00053 } ht_table;
-00054 
-00065 unsigned int ht_hash_string(void* key);
-00066 
-00080 ht_table* ht_new(unsigned int size, ht_hash_func fn);
-00081 
-00093 void ht_free(ht_table* table, int free_key, int free_value);
-00094 
-00110 void ht_insert(ht_table* table, void* key, void* val);
-00111 
-00124 void* ht_find(ht_table* table, void* key);
-00125 
-00139 void ht_delete(ht_table* table, void* key, int free_key, int free_value);
-00140 
-00155 ht_table* ht_resize(ht_table* table, unsigned int size);
-00156 
-00157 #endif
-
-
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/index.html b/docs/doxygen/html/index.html deleted file mode 100644 index 9147b53..0000000 --- a/docs/doxygen/html/index.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - -Data Structures: Main Page - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- -
-
- -
-
-
- -
-
-
-

Data Structures Documentation

-
-
-
-
- - -
- All Classes Files Functions Variables Typedefs
- - -
- -
- - - - diff --git a/docs/doxygen/html/installdox b/docs/doxygen/html/installdox deleted file mode 100644 index edf5bbf..0000000 --- a/docs/doxygen/html/installdox +++ /dev/null @@ -1,112 +0,0 @@ -#!/usr/bin/perl - -%subst = ( ); -$quiet = 0; - -while ( @ARGV ) { - $_ = shift @ARGV; - if ( s/^-// ) { - if ( /^l(.*)/ ) { - $v = ($1 eq "") ? shift @ARGV : $1; - ($v =~ /\/$/) || ($v .= "/"); - $_ = $v; - if ( /(.+)\@(.+)/ ) { - if ( exists $subst{$1} ) { - $subst{$1} = $2; - } else { - print STDERR "Unknown tag file $1 given with option -l\n"; - &usage(); - } - } else { - print STDERR "Argument $_ is invalid for option -l\n"; - &usage(); - } - } - elsif ( /^q/ ) { - $quiet = 1; - } - elsif ( /^\?|^h/ ) { - &usage(); - } - else { - print STDERR "Illegal option -$_\n"; - &usage(); - } - } - else { - push (@files, $_ ); - } -} - -foreach $sub (keys %subst) -{ - if ( $subst{$sub} eq "" ) - { - print STDERR "No substitute given for tag file `$sub'\n"; - &usage(); - } - elsif ( ! $quiet && $sub ne "_doc" && $sub ne "_cgi" ) - { - print "Substituting $subst{$sub} for each occurrence of tag file $sub\n"; - } -} - -if ( ! @files ) { - if (opendir(D,".")) { - foreach $file ( readdir(D) ) { - $match = ".html"; - next if ( $file =~ /^\.\.?$/ ); - ($file =~ /$match/) && (push @files, $file); - ($file =~ /\.svg/) && (push @files, $file); - ($file =~ "navtree.js") && (push @files, $file); - } - closedir(D); - } -} - -if ( ! @files ) { - print STDERR "Warning: No input files given and none found!\n"; -} - -foreach $f (@files) -{ - if ( ! $quiet ) { - print "Editing: $f...\n"; - } - $oldf = $f; - $f .= ".bak"; - unless (rename $oldf,$f) { - print STDERR "Error: cannot rename file $oldf\n"; - exit 1; - } - if (open(F,"<$f")) { - unless (open(G,">$oldf")) { - print STDERR "Error: opening file $oldf for writing\n"; - exit 1; - } - if ($oldf ne "tree.js") { - while () { - s/doxygen\=\"([^ \"\:\t\>\<]*)\:([^ \"\t\>\<]*)\" (xlink:href|href|src)=\"\2/doxygen\=\"$1:$subst{$1}\" \3=\"$subst{$1}/g; - print G "$_"; - } - } - else { - while () { - s/\"([^ \"\:\t\>\<]*)\:([^ \"\t\>\<]*)\", \"\2/\"$1:$subst{$1}\" ,\"$subst{$1}/g; - print G "$_"; - } - } - } - else { - print STDERR "Warning file $f does not exist\n"; - } - unlink $f; -} - -sub usage { - print STDERR "Usage: installdox [options] [html-file [html-file ...]]\n"; - print STDERR "Options:\n"; - print STDERR " -l tagfile\@linkName tag file + URL or directory \n"; - print STDERR " -q Quiet mode\n\n"; - exit 1; -} diff --git a/docs/doxygen/html/jquery.js b/docs/doxygen/html/jquery.js deleted file mode 100644 index c052173..0000000 --- a/docs/doxygen/html/jquery.js +++ /dev/null @@ -1,54 +0,0 @@ -/* - * jQuery JavaScript Library v1.3.2 - * http://jquery.com/ - * - * Copyright (c) 2009 John Resig - * Dual licensed under the MIT and GPL licenses. - * http://docs.jquery.com/License - * - * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009) - * Revision: 6246 - */ -(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.context;if(H==="find"){G.selector=this.selector+(this.selector?" ":"")+E}else{if(H){G.selector=this.selector+"."+H+"("+E+")"}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return o.each(this,F,E)},index:function(E){return o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var E=F;if(typeof F==="string"){if(H===g){return this[0]&&o[G||"attr"](this[0],F)}else{E={};E[F]=H}}return this.each(function(I){for(F in E){o.attr(G?this.style:this,F,o.prop(this,E[F],G,I,F))}})},css:function(E,F){if((E=="width"||E=="height")&&parseFloat(F)<0){F=g}return this.attr(E,F,"curCSS")},text:function(F){if(typeof F!=="object"&&F!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(F))}var E="";o.each(F||this,function(){o.each(this.childNodes,function(){if(this.nodeType!=8){E+=this.nodeType!=1?this.nodeValue:o.fn.text([this])}})});return E},wrapAll:function(E){if(this[0]){var F=o(E,this[0].ownerDocument).clone();if(this[0].parentNode){F.insertBefore(this[0])}F.map(function(){var G=this;while(G.firstChild){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(E){return this.each(function(){o(this).contents().wrapAll(E)})},wrap:function(E){return this.each(function(){o(this).wrapAll(E)})},append:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.appendChild(E)}})},prepend:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.insertBefore(E,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this)})},after:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this.nextSibling)})},end:function(){return this.prevObject||o([])},push:[].push,sort:[].sort,splice:[].splice,find:function(E){if(this.length===1){var F=this.pushStack([],"find",E);F.length=0;o.find(E,this[0],F);return F}else{return this.pushStack(o.unique(o.map(this,function(G){return o.find(E,G)})),"find",E)}},clone:function(G){var E=this.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){var I=this.outerHTML;if(!I){var J=this.ownerDocument.createElement("div");J.appendChild(this.cloneNode(true));I=J.innerHTML}return o.clean([I.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(G===true){var H=this.find("*").andSelf(),F=0;E.find("*").andSelf().each(function(){if(this.nodeName!==H[F].nodeName){return}var I=o.data(H[F],"events");for(var K in I){for(var J in I[K]){o.event.add(this,K,I[K][J],I[K][J].data)}}F++})}return E},filter:function(E){return this.pushStack(o.isFunction(E)&&o.grep(this,function(G,F){return E.call(G,F)})||o.multiFilter(E,o.grep(this,function(F){return F.nodeType===1})),"filter",E)},closest:function(E){var G=o.expr.match.POS.test(E)?o(E):null,F=0;return this.map(function(){var H=this;while(H&&H.ownerDocument){if(G?G.index(H)>-1:o(H).is(E)){o.data(H,"closest",F);return H}H=H.parentNode;F++}})},not:function(E){if(typeof E==="string"){if(f.test(E)){return this.pushStack(o.multiFilter(E,this,true),"not",E)}else{E=o.multiFilter(E,this)}}var F=E.length&&E[E.length-1]!==g&&!E.nodeType;return this.filter(function(){return F?o.inArray(this,E)<0:this!=E})},add:function(E){return this.pushStack(o.unique(o.merge(this.get(),typeof E==="string"?o(E):o.makeArray(E))))},is:function(E){return !!E&&o.multiFilter(E,this).length>0},hasClass:function(E){return !!E&&this.is("."+E)},val:function(K){if(K===g){var E=this[0];if(E){if(o.nodeName(E,"option")){return(E.attributes.value||{}).specified?E.value:E.text}if(o.nodeName(E,"select")){var I=E.selectedIndex,L=[],M=E.options,H=E.type=="select-one";if(I<0){return null}for(var F=H?I:0,J=H?I+1:M.length;F=0||o.inArray(this.name,K)>=0)}else{if(o.nodeName(this,"select")){var N=o.makeArray(K);o("option",this).each(function(){this.selected=(o.inArray(this.value,N)>=0||o.inArray(this.text,N)>=0)});if(!N.length){this.selectedIndex=-1}}else{this.value=K}}})},html:function(E){return E===g?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(E)},replaceWith:function(E){return this.after(E).remove()},eq:function(E){return this.slice(E,+E+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(E){return this.pushStack(o.map(this,function(G,F){return E.call(G,F,G)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,M,L){if(this[0]){var I=(this[0].ownerDocument||this[0]).createDocumentFragment(),F=o.clean(J,(this[0].ownerDocument||this[0]),I),H=I.firstChild;if(H){for(var G=0,E=this.length;G1||G>0?I.cloneNode(true):I)}}if(F){o.each(F,z)}}return this;function K(N,O){return M&&o.nodeName(N,"table")&&o.nodeName(O,"tr")?(N.getElementsByTagName("tbody")[0]||N.appendChild(N.ownerDocument.createElement("tbody"))):N}}};o.fn.init.prototype=o.fn;function z(E,F){if(F.src){o.ajax({url:F.src,async:false,dataType:"script"})}else{o.globalEval(F.text||F.textContent||F.innerHTML||"")}if(F.parentNode){F.parentNode.removeChild(F)}}function e(){return +new Date}o.extend=o.fn.extend=function(){var J=arguments[0]||{},H=1,I=arguments.length,E=false,G;if(typeof J==="boolean"){E=J;J=arguments[1]||{};H=2}if(typeof J!=="object"&&!o.isFunction(J)){J={}}if(I==H){J=this;--H}for(;H-1}},swap:function(H,G,I){var E={};for(var F in G){E[F]=H.style[F];H.style[F]=G[F]}I.call(H);for(var F in G){H.style[F]=E[F]}},css:function(H,F,J,E){if(F=="width"||F=="height"){var L,G={position:"absolute",visibility:"hidden",display:"block"},K=F=="width"?["Left","Right"]:["Top","Bottom"];function I(){L=F=="width"?H.offsetWidth:H.offsetHeight;if(E==="border"){return}o.each(K,function(){if(!E){L-=parseFloat(o.curCSS(H,"padding"+this,true))||0}if(E==="margin"){L+=parseFloat(o.curCSS(H,"margin"+this,true))||0}else{L-=parseFloat(o.curCSS(H,"border"+this+"Width",true))||0}})}if(H.offsetWidth!==0){I()}else{o.swap(H,G,I)}return Math.max(0,Math.round(L))}return o.curCSS(H,F,J)},curCSS:function(I,F,G){var L,E=I.style;if(F=="opacity"&&!o.support.opacity){L=o.attr(E,"opacity");return L==""?"1":L}if(F.match(/float/i)){F=w}if(!G&&E&&E[F]){L=E[F]}else{if(q.getComputedStyle){if(F.match(/float/i)){F="float"}F=F.replace(/([A-Z])/g,"-$1").toLowerCase();var M=q.getComputedStyle(I,null);if(M){L=M.getPropertyValue(F)}if(F=="opacity"&&L==""){L="1"}}else{if(I.currentStyle){var J=F.replace(/\-(\w)/g,function(N,O){return O.toUpperCase()});L=I.currentStyle[F]||I.currentStyle[J];if(!/^\d+(px)?$/i.test(L)&&/^\d/.test(L)){var H=E.left,K=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;E.left=L||0;L=E.pixelLeft+"px";E.left=H;I.runtimeStyle.left=K}}}}return L},clean:function(F,K,I){K=K||document;if(typeof K.createElement==="undefined"){K=K.ownerDocument||K[0]&&K[0].ownerDocument||document}if(!I&&F.length===1&&typeof F[0]==="string"){var H=/^<(\w+)\s*\/?>$/.exec(F[0]);if(H){return[K.createElement(H[1])]}}var G=[],E=[],L=K.createElement("div");o.each(F,function(P,S){if(typeof S==="number"){S+=""}if(!S){return}if(typeof S==="string"){S=S.replace(/(<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+">"});var O=S.replace(/^\s+/,"").substring(0,10).toLowerCase();var Q=!O.indexOf("",""]||!O.indexOf("",""]||O.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"","
"]||!O.indexOf("",""]||(!O.indexOf("",""]||!O.indexOf("",""]||!o.support.htmlSerialize&&[1,"div
","
"]||[0,"",""];L.innerHTML=Q[1]+S+Q[2];while(Q[0]--){L=L.lastChild}if(!o.support.tbody){var R=/"&&!R?L.childNodes:[];for(var M=N.length-1;M>=0;--M){if(o.nodeName(N[M],"tbody")&&!N[M].childNodes.length){N[M].parentNode.removeChild(N[M])}}}if(!o.support.leadingWhitespace&&/^\s/.test(S)){L.insertBefore(K.createTextNode(S.match(/^\s*/)[0]),L.firstChild)}S=o.makeArray(L.childNodes)}if(S.nodeType){G.push(S)}else{G=o.merge(G,S)}});if(I){for(var J=0;G[J];J++){if(o.nodeName(G[J],"script")&&(!G[J].type||G[J].type.toLowerCase()==="text/javascript")){E.push(G[J].parentNode?G[J].parentNode.removeChild(G[J]):G[J])}else{if(G[J].nodeType===1){G.splice.apply(G,[J+1,0].concat(o.makeArray(G[J].getElementsByTagName("script"))))}I.appendChild(G[J])}}return E}return G},attr:function(J,G,K){if(!J||J.nodeType==3||J.nodeType==8){return g}var H=!o.isXMLDoc(J),L=K!==g;G=H&&o.props[G]||G;if(J.tagName){var F=/href|src|style/.test(G);if(G=="selected"&&J.parentNode){J.parentNode.selectedIndex}if(G in J&&H&&!F){if(L){if(G=="type"&&o.nodeName(J,"input")&&J.parentNode){throw"type property can't be changed"}J[G]=K}if(o.nodeName(J,"form")&&J.getAttributeNode(G)){return J.getAttributeNode(G).nodeValue}if(G=="tabIndex"){var I=J.getAttributeNode("tabIndex");return I&&I.specified?I.value:J.nodeName.match(/(button|input|object|select|textarea)/i)?0:J.nodeName.match(/^(a|area)$/i)&&J.href?0:g}return J[G]}if(!o.support.style&&H&&G=="style"){return o.attr(J.style,"cssText",K)}if(L){J.setAttribute(G,""+K)}var E=!o.support.hrefNormalized&&H&&F?J.getAttribute(G,2):J.getAttribute(G);return E===null?g:E}if(!o.support.opacity&&G=="opacity"){if(L){J.zoom=1;J.filter=(J.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(K)+""=="NaN"?"":"alpha(opacity="+K*100+")")}return J.filter&&J.filter.indexOf("opacity=")>=0?(parseFloat(J.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}G=G.replace(/-([a-z])/ig,function(M,N){return N.toUpperCase()});if(L){J[G]=K}return J[G]},trim:function(E){return(E||"").replace(/^\s+|\s+$/g,"")},makeArray:function(G){var E=[];if(G!=null){var F=G.length;if(F==null||typeof G==="string"||o.isFunction(G)||G.setInterval){E[0]=G}else{while(F){E[--F]=G[F]}}}return E},inArray:function(G,H){for(var E=0,F=H.length;E0?this.clone(true):this).get();o.fn[F].apply(o(L[K]),I);J=J.concat(I)}return this.pushStack(J,E,G)}});o.each({removeAttr:function(E){o.attr(this,E,"");if(this.nodeType==1){this.removeAttribute(E)}},addClass:function(E){o.className.add(this,E)},removeClass:function(E){o.className.remove(this,E)},toggleClass:function(F,E){if(typeof E!=="boolean"){E=!o.className.has(this,F)}o.className[E?"add":"remove"](this,F)},remove:function(E){if(!E||o.filter(E,[this]).length){o("*",this).add([this]).each(function(){o.event.remove(this);o.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){o(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(E,F){o.fn[E]=function(){return this.each(F,arguments)}});function j(E,F){return E[0]&&parseInt(o.curCSS(E[0],F,true),10)||0}var h="jQuery"+e(),v=0,A={};o.extend({cache:{},data:function(F,E,G){F=F==l?A:F;var H=F[h];if(!H){H=F[h]=++v}if(E&&!o.cache[H]){o.cache[H]={}}if(G!==g){o.cache[H][E]=G}return E?o.cache[H][E]:H},removeData:function(F,E){F=F==l?A:F;var H=F[h];if(E){if(o.cache[H]){delete o.cache[H][E];E="";for(E in o.cache[H]){break}if(!E){o.removeData(F)}}}else{try{delete F[h]}catch(G){if(F.removeAttribute){F.removeAttribute(h)}}delete o.cache[H]}},queue:function(F,E,H){if(F){E=(E||"fx")+"queue";var G=o.data(F,E);if(!G||o.isArray(H)){G=o.data(F,E,o.makeArray(H))}else{if(H){G.push(H)}}}return G},dequeue:function(H,G){var E=o.queue(H,G),F=E.shift();if(!G||G==="fx"){F=E[0]}if(F!==g){F.call(H)}}});o.fn.extend({data:function(E,G){var H=E.split(".");H[1]=H[1]?"."+H[1]:"";if(G===g){var F=this.triggerHandler("getData"+H[1]+"!",[H[0]]);if(F===g&&this.length){F=o.data(this[0],E)}return F===g&&H[1]?this.data(H[0]):F}else{return this.trigger("setData"+H[1]+"!",[H[0],G]).each(function(){o.data(this,E,G)})}},removeData:function(E){return this.each(function(){o.removeData(this,E)})},queue:function(E,F){if(typeof E!=="string"){F=E;E="fx"}if(F===g){return o.queue(this[0],E)}return this.each(function(){var G=o.queue(this,E,F);if(E=="fx"&&G.length==1){G[0].call(this)}})},dequeue:function(E){return this.each(function(){o.dequeue(this,E)})}}); -/* - * Sizzle CSS Selector Engine - v0.9.3 - * Copyright 2009, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * More information: http://sizzlejs.com/ - */ -(function(){var R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,L=0,H=Object.prototype.toString;var F=function(Y,U,ab,ac){ab=ab||[];U=U||document;if(U.nodeType!==1&&U.nodeType!==9){return[]}if(!Y||typeof Y!=="string"){return ab}var Z=[],W,af,ai,T,ad,V,X=true;R.lastIndex=0;while((W=R.exec(Y))!==null){Z.push(W[1]);if(W[2]){V=RegExp.rightContext;break}}if(Z.length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]?[U]:F(Z.shift(),U);while(Z.length){Y=Z.shift();if(I.relative[Y]){Y+=Z.shift()}af=J(Y,af)}}}else{var ae=ac?{expr:Z.pop(),set:E(ac)}:F.find(Z.pop(),Z.length===1&&U.parentNode?U.parentNode:U,Q(U));af=F.filter(ae.expr,ae.set);if(Z.length>0){ai=E(af)}else{X=false}while(Z.length){var ah=Z.pop(),ag=ah;if(!I.relative[ah]){ah=""}else{ag=Z.pop()}if(ag==null){ag=U}I.relative[ah](ai,ag,Q(U))}}if(!ai){ai=af}if(!ai){throw"Syntax error, unrecognized expression: "+(ah||Y)}if(H.call(ai)==="[object Array]"){if(!X){ab.push.apply(ab,ai)}else{if(U.nodeType===1){for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&(ai[aa]===true||ai[aa].nodeType===1&&K(U,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodeType===1){ab.push(af[aa])}}}}}else{E(ai,ab)}if(V){F(V,U,ab,ac);if(G){hasDuplicate=false;ab.sort(G);if(hasDuplicate){for(var aa=1;aa":function(Z,U,aa){var X=typeof U==="string";if(X&&!/\W/.test(U)){U=aa?U:U.toUpperCase();for(var V=0,T=Z.length;V=0)){if(!V){T.push(Y)}}else{if(V){U[X]=false}}}}return false},ID:function(T){return T[1].replace(/\\/g,"")},TAG:function(U,T){for(var V=0;T[V]===false;V++){}return T[V]&&Q(T[V])?U[1]:U[1].toUpperCase()},CHILD:function(T){if(T[1]=="nth"){var U=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(T[2]=="even"&&"2n"||T[2]=="odd"&&"2n+1"||!/\D/.test(T[2])&&"0n+"+T[2]||T[2]);T[2]=(U[1]+(U[2]||1))-0;T[3]=U[3]-0}T[0]=L++;return T},ATTR:function(X,U,V,T,Y,Z){var W=X[1].replace(/\\/g,"");if(!Z&&I.attrMap[W]){X[1]=I.attrMap[W]}if(X[2]==="~="){X[4]=" "+X[4]+" "}return X},PSEUDO:function(X,U,V,T,Y){if(X[1]==="not"){if(X[3].match(R).length>1||/^\w/.test(X[3])){X[3]=F(X[3],null,null,U)}else{var W=F.filter(X[3],U,V,true^Y);if(!V){T.push.apply(T,W)}return false}}else{if(I.match.POS.test(X[0])||I.match.CHILD.test(X[0])){return true}}return X},POS:function(T){T.unshift(true);return T}},filters:{enabled:function(T){return T.disabled===false&&T.type!=="hidden"},disabled:function(T){return T.disabled===true},checked:function(T){return T.checked===true},selected:function(T){T.parentNode.selectedIndex;return T.selected===true},parent:function(T){return !!T.firstChild},empty:function(T){return !T.firstChild},has:function(V,U,T){return !!F(T[3],V).length},header:function(T){return/h\d/i.test(T.nodeName)},text:function(T){return"text"===T.type},radio:function(T){return"radio"===T.type},checkbox:function(T){return"checkbox"===T.type},file:function(T){return"file"===T.type},password:function(T){return"password"===T.type},submit:function(T){return"submit"===T.type},image:function(T){return"image"===T.type},reset:function(T){return"reset"===T.type},button:function(T){return"button"===T.type||T.nodeName.toUpperCase()==="BUTTON"},input:function(T){return/input|select|textarea|button/i.test(T.nodeName)}},setFilters:{first:function(U,T){return T===0},last:function(V,U,T,W){return U===W.length-1},even:function(U,T){return T%2===0},odd:function(U,T){return T%2===1},lt:function(V,U,T){return UT[3]-0},nth:function(V,U,T){return T[3]-0==U},eq:function(V,U,T){return T[3]-0==U}},filter:{PSEUDO:function(Z,V,W,aa){var U=V[1],X=I.filters[U];if(X){return X(Z,W,V,aa)}else{if(U==="contains"){return(Z.textContent||Z.innerText||"").indexOf(V[3])>=0}else{if(U==="not"){var Y=V[3];for(var W=0,T=Y.length;W=0)}}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T},TAG:function(U,T){return(T==="*"&&U.nodeType===1)||U.nodeName===T},CLASS:function(U,T){return(" "+(U.className||U.getAttribute("class"))+" ").indexOf(T)>-1},ATTR:function(Y,W){var V=W[1],T=I.attrHandle[V]?I.attrHandle[V](Y):Y[V]!=null?Y[V]:Y.getAttribute(V),Z=T+"",X=W[2],U=W[4];return T==null?X==="!=":X==="="?Z===U:X==="*="?Z.indexOf(U)>=0:X==="~="?(" "+Z+" ").indexOf(U)>=0:!U?Z&&T!==false:X==="!="?Z!=U:X==="^="?Z.indexOf(U)===0:X==="$="?Z.substr(Z.length-U.length)===U:X==="|="?Z===U||Z.substr(0,U.length+1)===U+"-":false},POS:function(X,U,V,Y){var T=U[2],W=I.setFilters[T];if(W){return W(X,V,U,Y)}}}};var M=I.match.POS;for(var O in I.match){I.match[O]=RegExp(I.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var E=function(U,T){U=Array.prototype.slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(N){E=function(X,W){var U=W||[];if(H.call(X)==="[object Array]"){Array.prototype.push.apply(U,X)}else{if(typeof X.length==="number"){for(var V=0,T=X.length;V";var T=document.documentElement;T.insertBefore(U,T.firstChild);if(!!document.getElementById(V)){I.find.ID=function(X,Y,Z){if(typeof Y.getElementById!=="undefined"&&!Z){var W=Y.getElementById(X[1]);return W?W.id===X[1]||typeof W.getAttributeNode!=="undefined"&&W.getAttributeNode("id").nodeValue===X[1]?[W]:g:[]}};I.filter.ID=function(Y,W){var X=typeof Y.getAttributeNode!=="undefined"&&Y.getAttributeNode("id");return Y.nodeType===1&&X&&X.nodeValue===W}}T.removeChild(U)})();(function(){var T=document.createElement("div");T.appendChild(document.createComment(""));if(T.getElementsByTagName("*").length>0){I.find.TAG=function(U,Y){var X=Y.getElementsByTagName(U[1]);if(U[1]==="*"){var W=[];for(var V=0;X[V];V++){if(X[V].nodeType===1){W.push(X[V])}}X=W}return X}}T.innerHTML="";if(T.firstChild&&typeof T.firstChild.getAttribute!=="undefined"&&T.firstChild.getAttribute("href")!=="#"){I.attrHandle.href=function(U){return U.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var T=F,U=document.createElement("div");U.innerHTML="

";if(U.querySelectorAll&&U.querySelectorAll(".TEST").length===0){return}F=function(Y,X,V,W){X=X||document;if(!W&&X.nodeType===9&&!Q(X)){try{return E(X.querySelectorAll(Y),V)}catch(Z){}}return T(Y,X,V,W)};F.find=T.find;F.filter=T.filter;F.selectors=T.selectors;F.matches=T.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var T=document.createElement("div");T.innerHTML="
";if(T.getElementsByClassName("e").length===0){return}T.lastChild.className="e";if(T.getElementsByClassName("e").length===1){return}I.order.splice(1,0,"CLASS");I.find.CLASS=function(U,V,W){if(typeof V.getElementsByClassName!=="undefined"&&!W){return V.getElementsByClassName(U[1])}}})()}function P(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W0){X=T;break}}}T=T[U]}ad[W]=X}}}var K=document.compareDocumentPosition?function(U,T){return U.compareDocumentPosition(T)&16}:function(U,T){return U!==T&&(U.contains?U.contains(T):true)};var Q=function(T){return T.nodeType===9&&T.documentElement.nodeName!=="HTML"||!!T.ownerDocument&&Q(T.ownerDocument)};var J=function(T,aa){var W=[],X="",Y,V=aa.nodeType?[aa]:aa;while((Y=I.match.PSEUDO.exec(T))){X+=Y[0];T=T.replace(I.match.PSEUDO,"")}T=I.relative[T]?T+"*":T;for(var Z=0,U=V.length;Z0||T.offsetHeight>0};F.selectors.filters.animated=function(T){return o.grep(o.timers,function(U){return T===U.elem}).length};o.multiFilter=function(V,T,U){if(U){V=":not("+V+")"}return F.matches(V,T)};o.dir=function(V,U){var T=[],W=V[U];while(W&&W!=document){if(W.nodeType==1){T.push(W)}W=W[U]}return T};o.nth=function(X,T,V,W){T=T||1;var U=0;for(;X;X=X[V]){if(X.nodeType==1&&++U==T){break}}return X};o.sibling=function(V,U){var T=[];for(;V;V=V.nextSibling){if(V.nodeType==1&&V!=U){T.push(V)}}return T};return;l.Sizzle=F})();o.event={add:function(I,F,H,K){if(I.nodeType==3||I.nodeType==8){return}if(I.setInterval&&I!=l){I=l}if(!H.guid){H.guid=this.guid++}if(K!==g){var G=H;H=this.proxy(G);H.data=K}var E=o.data(I,"events")||o.data(I,"events",{}),J=o.data(I,"handle")||o.data(I,"handle",function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(arguments.callee.elem,arguments):g});J.elem=I;o.each(F.split(/\s+/),function(M,N){var O=N.split(".");N=O.shift();H.type=O.slice().sort().join(".");var L=E[N];if(o.event.specialAll[N]){o.event.specialAll[N].setup.call(I,K,O)}if(!L){L=E[N]={};if(!o.event.special[N]||o.event.special[N].setup.call(I,K,O)===false){if(I.addEventListener){I.addEventListener(N,J,false)}else{if(I.attachEvent){I.attachEvent("on"+N,J)}}}}L[H.guid]=H;o.event.global[N]=true});I=null},guid:1,global:{},remove:function(K,H,J){if(K.nodeType==3||K.nodeType==8){return}var G=o.data(K,"events"),F,E;if(G){if(H===g||(typeof H==="string"&&H.charAt(0)==".")){for(var I in G){this.remove(K,I+(H||""))}}else{if(H.type){J=H.handler;H=H.type}o.each(H.split(/\s+/),function(M,O){var Q=O.split(".");O=Q.shift();var N=RegExp("(^|\\.)"+Q.slice().sort().join(".*\\.")+"(\\.|$)");if(G[O]){if(J){delete G[O][J.guid]}else{for(var P in G[O]){if(N.test(G[O][P].type)){delete G[O][P]}}}if(o.event.specialAll[O]){o.event.specialAll[O].teardown.call(K,Q)}for(F in G[O]){break}if(!F){if(!o.event.special[O]||o.event.special[O].teardown.call(K,Q)===false){if(K.removeEventListener){K.removeEventListener(O,o.data(K,"handle"),false)}else{if(K.detachEvent){K.detachEvent("on"+O,o.data(K,"handle"))}}}F=null;delete G[O]}}})}for(F in G){break}if(!F){var L=o.data(K,"handle");if(L){L.elem=null}o.removeData(K,"events");o.removeData(K,"handle")}}},trigger:function(I,K,H,E){var G=I.type||I;if(!E){I=typeof I==="object"?I[h]?I:o.extend(o.Event(G),I):o.Event(G);if(G.indexOf("!")>=0) -{I.type=G=G.slice(0,-1);I.exclusive=true}if(!H){I.stopPropagation();if(this.global[G]){o.each(o.cache,function(){if(this.events&&this.events[G]){o.event.trigger(I,K,this.handle.elem)}})}}if(!H||H.nodeType==3||H.nodeType==8){return g}I.result=g;I.target=H;K=o.makeArray(K);K.unshift(I)}I.currentTarget=H;var J=o.data(H,"handle");if(J){J.apply(H,K)}if((!H[G]||(o.nodeName(H,"a")&&G=="click"))&&H["on"+G]&&H["on"+G].apply(H,K)===false){I.result=false}if(!E&&H[G]&&!I.isDefaultPrevented()&&!(o.nodeName(H,"a")&&G=="click")){this.triggered=true;try{H[G]()}catch(L){}}this.triggered=false;if(!I.isPropagationStopped()){var F=H.parentNode||H.ownerDocument;if(F){o.event.trigger(I,K,F,true)}}},handle:function(K){var J,E;K=arguments[0]=o.event.fix(K||l.event);K.currentTarget=this;var L=K.type.split(".");K.type=L.shift();J=!L.length&&!K.exclusive;var I=RegExp("(^|\\.)"+L.slice().sort().join(".*\\.")+"(\\.|$)");E=(o.data(this,"events")||{})[K.type];for(var G in E){var H=E[G];if(J||I.test(H.type)){K.handler=H;K.data=H.data;var F=H.apply(this,arguments);if(F!==g){K.result=F;if(F===false){K.preventDefault();K.stopPropagation()}}if(K.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(H){if(H[h]){return H}var F=H;H=o.Event(F);for(var G=this.props.length,J;G;){J=this.props[--G];H[J]=F[J]}if(!H.target){H.target=H.srcElement||document}if(H.target.nodeType==3){H.target=H.target.parentNode}if(!H.relatedTarget&&H.fromElement){H.relatedTarget=H.fromElement==H.target?H.toElement:H.fromElement}if(H.pageX==null&&H.clientX!=null){var I=document.documentElement,E=document.body;H.pageX=H.clientX+(I&&I.scrollLeft||E&&E.scrollLeft||0)-(I.clientLeft||0);H.pageY=H.clientY+(I&&I.scrollTop||E&&E.scrollTop||0)-(I.clientTop||0)}if(!H.which&&((H.charCode||H.charCode===0)?H.charCode:H.keyCode)){H.which=H.charCode||H.keyCode}if(!H.metaKey&&H.ctrlKey){H.metaKey=H.ctrlKey}if(!H.which&&H.button){H.which=(H.button&1?1:(H.button&2?3:(H.button&4?2:0)))}return H},proxy:function(F,E){E=E||function(){return F.apply(this,arguments)};E.guid=F.guid=F.guid||E.guid||this.guid++;return E},special:{ready:{setup:B,teardown:function(){}}},specialAll:{live:{setup:function(E,F){o.event.add(this,F[0],c)},teardown:function(G){if(G.length){var E=0,F=RegExp("(^|\\.)"+G[0]+"(\\.|$)");o.each((o.data(this,"events").live||{}),function(){if(F.test(this.type)){E++}});if(E<1){o.event.remove(this,G[0],c)}}}}}};o.Event=function(E){if(!this.preventDefault){return new o.Event(E)}if(E&&E.type){this.originalEvent=E;this.type=E.type}else{this.type=E}this.timeStamp=e();this[h]=true};function k(){return false}function u(){return true}o.Event.prototype={preventDefault:function(){this.isDefaultPrevented=u;var E=this.originalEvent;if(!E){return}if(E.preventDefault){E.preventDefault()}E.returnValue=false},stopPropagation:function(){this.isPropagationStopped=u;var E=this.originalEvent;if(!E){return}if(E.stopPropagation){E.stopPropagation()}E.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=u;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var a=function(F){var E=F.relatedTarget;while(E&&E!=this){try{E=E.parentNode}catch(G){E=this}}if(E!=this){F.type=F.data;o.event.handle.apply(this,arguments)}};o.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(F,E){o.event.special[E]={setup:function(){o.event.add(this,F,a,E)},teardown:function(){o.event.remove(this,F,a)}}});o.fn.extend({bind:function(F,G,E){return F=="unload"?this.one(F,G,E):this.each(function(){o.event.add(this,F,E||G,E&&G)})},one:function(G,H,F){var E=o.event.proxy(F||H,function(I){o(this).unbind(I,E);return(F||H).apply(this,arguments)});return this.each(function(){o.event.add(this,G,E,F&&H)})},unbind:function(F,E){return this.each(function(){o.event.remove(this,F,E)})},trigger:function(E,F){return this.each(function(){o.event.trigger(E,F,this)})},triggerHandler:function(E,G){if(this[0]){var F=o.Event(E);F.preventDefault();F.stopPropagation();o.event.trigger(F,G,this[0]);return F.result}},toggle:function(G){var E=arguments,F=1;while(F=0){var E=G.slice(I,G.length);G=G.slice(0,I)}var H="GET";if(J){if(o.isFunction(J)){K=J;J=null}else{if(typeof J==="object"){J=o.param(J);H="POST"}}}var F=this;o.ajax({url:G,type:H,dataType:"html",data:J,complete:function(M,L){if(L=="success"||L=="notmodified"){F.html(E?o("
").append(M.responseText.replace(//g,"")).find(E):M.responseText)}if(K){F.each(K,[M.responseText,L,M])}}});return this},serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?o.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(E,F){var G=o(this).val();return G==null?null:o.isArray(G)?o.map(G,function(I,H){return{name:F.name,value:I}}):{name:F.name,value:G}}).get()}});o.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(E,F){o.fn[F]=function(G){return this.bind(F,G)}});var r=e();o.extend({get:function(E,G,H,F){if(o.isFunction(G)){H=G;G=null}return o.ajax({type:"GET",url:E,data:G,success:H,dataType:F})},getScript:function(E,F){return o.get(E,null,F,"script")},getJSON:function(E,F,G){return o.get(E,F,G,"json")},post:function(E,G,H,F){if(o.isFunction(G)){H=G;G={}}return o.ajax({type:"POST",url:E,data:G,success:H,dataType:F})},ajaxSetup:function(E){o.extend(o.ajaxSettings,E)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return l.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(M){M=o.extend(true,M,o.extend(true,{},o.ajaxSettings,M));var W,F=/=\?(&|$)/g,R,V,G=M.type.toUpperCase();if(M.data&&M.processData&&typeof M.data!=="string"){M.data=o.param(M.data)}if(M.dataType=="jsonp"){if(G=="GET"){if(!M.url.match(F)){M.url+=(M.url.match(/\?/)?"&":"?")+(M.jsonp||"callback")+"=?"}}else{if(!M.data||!M.data.match(F)){M.data=(M.data?M.data+"&":"")+(M.jsonp||"callback")+"=?"}}M.dataType="json"}if(M.dataType=="json"&&(M.data&&M.data.match(F)||M.url.match(F))){W="jsonp"+r++;if(M.data){M.data=(M.data+"").replace(F,"="+W+"$1")}M.url=M.url.replace(F,"="+W+"$1");M.dataType="script";l[W]=function(X){V=X;I();L();l[W]=g;try{delete l[W]}catch(Y){}if(H){H.removeChild(T)}}}if(M.dataType=="script"&&M.cache==null){M.cache=false}if(M.cache===false&&G=="GET"){var E=e();var U=M.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+E+"$2");M.url=U+((U==M.url)?(M.url.match(/\?/)?"&":"?")+"_="+E:"")}if(M.data&&G=="GET"){M.url+=(M.url.match(/\?/)?"&":"?")+M.data;M.data=null}if(M.global&&!o.active++){o.event.trigger("ajaxStart")}var Q=/^(\w+:)?\/\/([^\/?#]+)/.exec(M.url);if(M.dataType=="script"&&G=="GET"&&Q&&(Q[1]&&Q[1]!=location.protocol||Q[2]!=location.host)){var H=document.getElementsByTagName("head")[0];var T=document.createElement("script");T.src=M.url;if(M.scriptCharset){T.charset=M.scriptCharset}if(!W){var O=false;T.onload=T.onreadystatechange=function(){if(!O&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){O=true;I();L();T.onload=T.onreadystatechange=null;H.removeChild(T)}}}H.appendChild(T);return g}var K=false;var J=M.xhr();if(M.username){J.open(G,M.url,M.async,M.username,M.password)}else{J.open(G,M.url,M.async)}try{if(M.data){J.setRequestHeader("Content-Type",M.contentType)}if(M.ifModified){J.setRequestHeader("If-Modified-Since",o.lastModified[M.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}J.setRequestHeader("X-Requested-With","XMLHttpRequest");J.setRequestHeader("Accept",M.dataType&&M.accepts[M.dataType]?M.accepts[M.dataType]+", */*":M.accepts._default)}catch(S){}if(M.beforeSend&&M.beforeSend(J,M)===false){if(M.global&&!--o.active){o.event.trigger("ajaxStop")}J.abort();return false}if(M.global){o.event.trigger("ajaxSend",[J,M])}var N=function(X){if(J.readyState==0){if(P){clearInterval(P);P=null;if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}}else{if(!K&&J&&(J.readyState==4||X=="timeout")){K=true;if(P){clearInterval(P);P=null}R=X=="timeout"?"timeout":!o.httpSuccess(J)?"error":M.ifModified&&o.httpNotModified(J,M.url)?"notmodified":"success";if(R=="success"){try{V=o.httpData(J,M.dataType,M)}catch(Z){R="parsererror"}}if(R=="success"){var Y;try{Y=J.getResponseHeader("Last-Modified")}catch(Z){}if(M.ifModified&&Y){o.lastModified[M.url]=Y}if(!W){I()}}else{o.handleError(M,J,R)}L();if(X){J.abort()}if(M.async){J=null}}}};if(M.async){var P=setInterval(N,13);if(M.timeout>0){setTimeout(function(){if(J&&!K){N("timeout")}},M.timeout)}}try{J.send(M.data)}catch(S){o.handleError(M,J,null,S)}if(!M.async){N()}function I(){if(M.success){M.success(V,R)}if(M.global){o.event.trigger("ajaxSuccess",[J,M])}}function L(){if(M.complete){M.complete(J,R)}if(M.global){o.event.trigger("ajaxComplete",[J,M])}if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}return J},handleError:function(F,H,E,G){if(F.error){F.error(H,E,G)}if(F.global){o.event.trigger("ajaxError",[H,F,G])}},active:0,httpSuccess:function(F){try{return !F.status&&location.protocol=="file:"||(F.status>=200&&F.status<300)||F.status==304||F.status==1223}catch(E){}return false},httpNotModified:function(G,E){try{var H=G.getResponseHeader("Last-Modified");return G.status==304||H==o.lastModified[E]}catch(F){}return false},httpData:function(J,H,G){var F=J.getResponseHeader("content-type"),E=H=="xml"||!H&&F&&F.indexOf("xml")>=0,I=E?J.responseXML:J.responseText;if(E&&I.documentElement.tagName=="parsererror"){throw"parsererror"}if(G&&G.dataFilter){I=G.dataFilter(I,H)}if(typeof I==="string"){if(H=="script"){o.globalEval(I)}if(H=="json"){I=l["eval"]("("+I+")")}}return I},param:function(E){var G=[];function H(I,J){G[G.length]=encodeURIComponent(I)+"="+encodeURIComponent(J)}if(o.isArray(E)||E.jquery){o.each(E,function(){H(this.name,this.value)})}else{for(var F in E){if(o.isArray(E[F])){o.each(E[F],function(){H(F,this)})}else{H(F,o.isFunction(E[F])?E[F]():E[F])}}}return G.join("&").replace(/%20/g,"+")}});var m={},n,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function t(F,E){var G={};o.each(d.concat.apply([],d.slice(0,E)),function() -{G[this]=F});return G}o.fn.extend({show:function(J,L){if(J){return this.animate(t("show",3),J,L)}else{for(var H=0,F=this.length;H").appendTo("body");K=I.css("display");if(K==="none"){K="block"}I.remove();m[G]=K}o.data(this[H],"olddisplay",K)}}for(var H=0,F=this.length;H=0;H--){if(G[H].elem==this){if(E){G[H](true)}G.splice(H,1)}}});if(!E){this.dequeue()}return this}});o.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(E,F){o.fn[E]=function(G,H){return this.animate(F,G,H)}});o.extend({speed:function(G,H,F){var E=typeof G==="object"?G:{complete:F||!F&&H||o.isFunction(G)&&G,duration:G,easing:F&&H||H&&!o.isFunction(H)&&H};E.duration=o.fx.off?0:typeof E.duration==="number"?E.duration:o.fx.speeds[E.duration]||o.fx.speeds._default;E.old=E.complete;E.complete=function(){if(E.queue!==false){o(this).dequeue()}if(o.isFunction(E.old)){E.old.call(this)}};return E},easing:{linear:function(G,H,E,F){return E+F*G},swing:function(G,H,E,F){return((-Math.cos(G*Math.PI)/2)+0.5)*F+E}},timers:[],fx:function(F,E,G){this.options=E;this.elem=F;this.prop=G;if(!E.orig){E.orig={}}}});o.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(o.fx.step[this.prop]||o.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(F){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var E=parseFloat(o.css(this.elem,this.prop,F));return E&&E>-10000?E:parseFloat(o.curCSS(this.elem,this.prop))||0},custom:function(I,H,G){this.startTime=e();this.start=I;this.end=H;this.unit=G||this.unit||"px";this.now=this.start;this.pos=this.state=0;var E=this;function F(J){return E.step(J)}F.elem=this.elem;if(F()&&o.timers.push(F)&&!n){n=setInterval(function(){var K=o.timers;for(var J=0;J=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var E=true;for(var F in this.options.curAnim){if(this.options.curAnim[F]!==true){E=false}}if(E){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(o.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){o(this.elem).hide()}if(this.options.hide||this.options.show){for(var I in this.options.curAnim){o.attr(this.elem.style,I,this.options.orig[I])}}this.options.complete.call(this.elem)}return false}else{var J=G-this.startTime;this.state=J/this.options.duration;this.pos=o.easing[this.options.easing||(o.easing.swing?"swing":"linear")](this.state,J,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};o.extend(o.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(E){o.attr(E.elem.style,"opacity",E.now)},_default:function(E){if(E.elem.style&&E.elem.style[E.prop]!=null){E.elem.style[E.prop]=E.now+E.unit}else{E.elem[E.prop]=E.now}}}});if(document.documentElement.getBoundingClientRect){o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}var G=this[0].getBoundingClientRect(),J=this[0].ownerDocument,F=J.body,E=J.documentElement,L=E.clientTop||F.clientTop||0,K=E.clientLeft||F.clientLeft||0,I=G.top+(self.pageYOffset||o.boxModel&&E.scrollTop||F.scrollTop)-L,H=G.left+(self.pageXOffset||o.boxModel&&E.scrollLeft||F.scrollLeft)-K;return{top:I,left:H}}}else{o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}o.offset.initialized||o.offset.initialize();var J=this[0],G=J.offsetParent,F=J,O=J.ownerDocument,M,H=O.documentElement,K=O.body,L=O.defaultView,E=L.getComputedStyle(J,null),N=J.offsetTop,I=J.offsetLeft;while((J=J.parentNode)&&J!==K&&J!==H){M=L.getComputedStyle(J,null);N-=J.scrollTop,I-=J.scrollLeft;if(J===G){N+=J.offsetTop,I+=J.offsetLeft;if(o.offset.doesNotAddBorder&&!(o.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(J.tagName))){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}F=G,G=J.offsetParent}if(o.offset.subtractsBorderForOverflowNotVisible&&M.overflow!=="visible"){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}E=M}if(E.position==="relative"||E.position==="static"){N+=K.offsetTop,I+=K.offsetLeft}if(E.position==="fixed"){N+=Math.max(H.scrollTop,K.scrollTop),I+=Math.max(H.scrollLeft,K.scrollLeft)}return{top:N,left:I}}}o.offset={initialize:function(){if(this.initialized){return}var L=document.body,F=document.createElement("div"),H,G,N,I,M,E,J=L.style.marginTop,K='
';M={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(E in M){F.style[E]=M[E]}F.innerHTML=K;L.insertBefore(F,L.firstChild);H=F.firstChild,G=H.firstChild,I=H.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(G.offsetTop!==5);this.doesAddBorderForTableAndCells=(I.offsetTop===5);H.style.overflow="hidden",H.style.position="relative";this.subtractsBorderForOverflowNotVisible=(G.offsetTop===-5);L.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(L.offsetTop===0);L.style.marginTop=J;L.removeChild(F);this.initialized=true},bodyOffset:function(E){o.offset.initialized||o.offset.initialize();var G=E.offsetTop,F=E.offsetLeft;if(o.offset.doesNotIncludeMarginInBodyOffset){G+=parseInt(o.curCSS(E,"marginTop",true),10)||0,F+=parseInt(o.curCSS(E,"marginLeft",true),10)||0}return{top:G,left:F}}};o.fn.extend({position:function(){var I=0,H=0,F;if(this[0]){var G=this.offsetParent(),J=this.offset(),E=/^body|html$/i.test(G[0].tagName)?{top:0,left:0}:G.offset();J.top-=j(this,"marginTop");J.left-=j(this,"marginLeft");E.top+=j(G,"borderTopWidth");E.left+=j(G,"borderLeftWidth");F={top:J.top-E.top,left:J.left-E.left}}return F},offsetParent:function(){var E=this[0].offsetParent||document.body;while(E&&(!/^body|html$/i.test(E.tagName)&&o.css(E,"position")=="static")){E=E.offsetParent}return o(E)}});o.each(["Left","Top"],function(F,E){var G="scroll"+E;o.fn[G]=function(H){if(!this[0]){return null}return H!==g?this.each(function(){this==l||this==document?l.scrollTo(!F?H:o(l).scrollLeft(),F?H:o(l).scrollTop()):this[G]=H}):this[0]==l||this[0]==document?self[F?"pageYOffset":"pageXOffset"]||o.boxModel&&document.documentElement[G]||document.body[G]:this[0][G]}});o.each(["Height","Width"],function(I,G){var E=I?"Left":"Top",H=I?"Right":"Bottom",F=G.toLowerCase();o.fn["inner"+G]=function(){return this[0]?o.css(this[0],F,false,"padding"):null};o.fn["outer"+G]=function(K){return this[0]?o.css(this[0],F,false,K?"margin":"border"):null};var J=G.toLowerCase();o.fn[J]=function(K){return this[0]==l?document.compatMode=="CSS1Compat"&&document.documentElement["client"+G]||document.body["client"+G]:this[0]==document?Math.max(document.documentElement["client"+G],document.body["scroll"+G],document.documentElement["scroll"+G],document.body["offset"+G],document.documentElement["offset"+G]):K===g?(this.length?o.css(this[0],J):null):this.css(J,typeof K==="string"?K:K+"px")}})})(); -/* - * jQuery UI 1.7.2 - * - * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT (MIT-LICENSE.txt) - * and GPL (GPL-LICENSE.txt) licenses. - * - * http://docs.jquery.com/UI - */ -jQuery.ui||(function(c){var i=c.fn.remove,d=c.browser.mozilla&&(parseFloat(c.browser.version)<1.9);c.ui={version:"1.7.2",plugin:{add:function(k,l,n){var m=c.ui[k].prototype;for(var j in n){m.plugins[j]=m.plugins[j]||[];m.plugins[j].push([l,n[j]])}},call:function(j,l,k){var n=j.plugins[l];if(!n||!j.element[0].parentNode){return}for(var m=0;m0){return true}m[j]=1;l=(m[j]>0);m[j]=0;return l},isOverAxis:function(k,j,l){return(k>j)&&(k<(j+l))},isOver:function(o,k,n,m,j,l){return c.ui.isOverAxis(o,n,j)&&c.ui.isOverAxis(k,m,l)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(d){var f=c.attr,e=c.fn.removeAttr,h="http://www.w3.org/2005/07/aaa",a=/^aria-/,b=/^wairole:/;c.attr=function(k,j,l){var m=l!==undefined;return(j=="role"?(m?f.call(this,k,j,"wairole:"+l):(f.apply(this,arguments)||"").replace(b,"")):(a.test(j)?(m?k.setAttributeNS(h,j.replace(a,"aaa:"),l):f.call(this,k,j.replace(a,"aaa:"))):f.apply(this,arguments)))};c.fn.removeAttr=function(j){return(a.test(j)?this.each(function(){this.removeAttributeNS(h,j.replace(a,""))}):e.call(this,j))}}c.fn.extend({remove:function(){c("*",this).add(this).each(function(){c(this).triggerHandler("remove")});return i.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var j;if((c.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){j=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(c.curCSS(this,"position",1))&&(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}else{j=this.parents().filter(function(){return(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!j.length?c(document):j}});c.extend(c.expr[":"],{data:function(l,k,j){return !!c.data(l,j[3])},focusable:function(k){var l=k.nodeName.toLowerCase(),j=c.attr(k,"tabindex");return(/input|select|textarea|button|object/.test(l)?!k.disabled:"a"==l||"area"==l?k.href||!isNaN(j):!isNaN(j))&&!c(k)["area"==l?"parents":"closest"](":hidden").length},tabbable:function(k){var j=c.attr(k,"tabindex");return(isNaN(j)||j>=0)&&c(k).is(":focusable")}});function g(m,n,o,l){function k(q){var p=c[m][n][q]||[];return(typeof p=="string"?p.split(/,?\s+/):p)}var j=k("getter");if(l.length==1&&typeof l[0]=="string"){j=j.concat(k("getterSetter"))}return(c.inArray(o,j)!=-1)}c.widget=function(k,j){var l=k.split(".")[0];k=k.split(".")[1];c.fn[k]=function(p){var n=(typeof p=="string"),o=Array.prototype.slice.call(arguments,1);if(n&&p.substring(0,1)=="_"){return this}if(n&&g(l,k,p,o)){var m=c.data(this[0],k);return(m?m[p].apply(m,o):undefined)}return this.each(function(){var q=c.data(this,k);(!q&&!n&&c.data(this,k,new c[l][k](this,p))._init());(q&&n&&c.isFunction(q[p])&&q[p].apply(q,o))})};c[l]=c[l]||{};c[l][k]=function(o,n){var m=this;this.namespace=l;this.widgetName=k;this.widgetEventPrefix=c[l][k].eventPrefix||k;this.widgetBaseClass=l+"-"+k;this.options=c.extend({},c.widget.defaults,c[l][k].defaults,c.metadata&&c.metadata.get(o)[k],n);this.element=c(o).bind("setData."+k,function(q,p,r){if(q.target==o){return m._setData(p,r)}}).bind("getData."+k,function(q,p){if(q.target==o){return m._getData(p)}}).bind("remove",function(){return m.destroy()})};c[l][k].prototype=c.extend({},c.widget.prototype,j);c[l][k].getterSetter="option"};c.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(l,m){var k=l,j=this;if(typeof l=="string"){if(m===undefined){return this._getData(l)}k={};k[l]=m}c.each(k,function(n,o){j._setData(n,o)})},_getData:function(j){return this.options[j]},_setData:function(j,k){this.options[j]=k;if(j=="disabled"){this.element[k?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",k)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(l,m,n){var p=this.options[l],j=(l==this.widgetEventPrefix?l:this.widgetEventPrefix+l);m=c.Event(m);m.type=j;if(m.originalEvent){for(var k=c.event.props.length,o;k;){o=c.event.props[--k];m[o]=m.originalEvent[o]}}this.element.trigger(m,n);return !(c.isFunction(p)&&p.call(this.element[0],m,n)===false||m.isDefaultPrevented())}};c.widget.defaults={disabled:false};c.ui.mouse={_mouseInit:function(){var j=this;this.element.bind("mousedown."+this.widgetName,function(k){return j._mouseDown(k)}).bind("click."+this.widgetName,function(k){if(j._preventClickEvent){j._preventClickEvent=false;k.stopImmediatePropagation();return false}});if(c.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(c.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(l){l.originalEvent=l.originalEvent||{};if(l.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(l));this._mouseDownEvent=l;var k=this,m=(l.which==1),j=(typeof this.options.cancel=="string"?c(l.target).parents().add(l.target).filter(this.options.cancel).length:false);if(!m||j||!this._mouseCapture(l)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){k.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(l)&&this._mouseDelayMet(l)){this._mouseStarted=(this._mouseStart(l)!==false);if(!this._mouseStarted){l.preventDefault();return true}}this._mouseMoveDelegate=function(n){return k._mouseMove(n)};this._mouseUpDelegate=function(n){return k._mouseUp(n)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(c.browser.safari||l.preventDefault());l.originalEvent.mouseHandled=true;return true},_mouseMove:function(j){if(c.browser.msie&&!j.button){return this._mouseUp(j)}if(this._mouseStarted){this._mouseDrag(j);return j.preventDefault()}if(this._mouseDistanceMet(j)&&this._mouseDelayMet(j)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,j)!==false);(this._mouseStarted?this._mouseDrag(j):this._mouseUp(j))}return !this._mouseStarted},_mouseUp:function(j){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(j.target==this._mouseDownEvent.target);this._mouseStop(j)}return false},_mouseDistanceMet:function(j){return(Math.max(Math.abs(this._mouseDownEvent.pageX-j.pageX),Math.abs(this._mouseDownEvent.pageY-j.pageY))>=this.options.distance)},_mouseDelayMet:function(j){return this.mouseDelayMet},_mouseStart:function(j){},_mouseDrag:function(j){},_mouseStop:function(j){},_mouseCapture:function(j){return true}};c.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);;/* * jQuery UI Resizable 1.7.2 - * - * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT (MIT-LICENSE.txt) - * and GPL (GPL-LICENSE.txt) licenses. - * - * http://docs.jquery.com/UI/Resizables - * - * Depends: - * ui.core.js - */ -(function(c){c.widget("ui.resizable",c.extend({},c.ui.mouse,{_init:function(){var e=this,j=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(j.aspectRatio),aspectRatio:j.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:j.helper||j.ghost||j.animate?j.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){if(/relative/.test(this.element.css("position"))&&c.browser.opera){this.element.css({position:"relative",top:"auto",left:"auto"})}this.element.wrap(c('
').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=j.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var k=this.handles.split(",");this.handles={};for(var f=0;f
');if(/sw|se|ne|nw/.test(h)){g.css({zIndex:++j.zIndex})}if("se"==h){g.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[h]=".ui-resizable-"+h;this.element.append(g)}}this._renderAxis=function(p){p=p||this.element;for(var m in this.handles){if(this.handles[m].constructor==String){this.handles[m]=c(this.handles[m],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var n=c(this.handles[m],this.element),o=0;o=/sw|ne|nw|se|n|s/.test(m)?n.outerHeight():n.outerWidth();var l=["padding",/ne|nw|n/.test(m)?"Top":/se|sw|s/.test(m)?"Bottom":/^e$/.test(m)?"Right":"Left"].join("");p.css(l,o);this._proportionallyResize()}if(!c(this.handles[m]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!e.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}e.axis=i&&i[1]?i[1]:"se"}});if(j.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){c(this).removeClass("ui-resizable-autohide");e._handles.show()},function(){if(!e.resizing){c(this).addClass("ui-resizable-autohide");e._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var d=function(f){c(f).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){d(this.element);var e=this.element;e.parent().append(this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")})).end().remove()}this.originalElement.css("resize",this.originalResizeStyle);d(this.originalElement)},_mouseCapture:function(e){var f=false;for(var d in this.handles){if(c(this.handles[d])[0]==e.target){f=true}}return this.options.disabled||!!f},_mouseStart:function(f){var i=this.options,e=this.element.position(),d=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(d.is(".ui-draggable")||(/absolute/).test(d.css("position"))){d.css({position:"absolute",top:e.top,left:e.left})}if(c.browser.opera&&(/relative/).test(d.css("position"))){d.css({position:"relative",top:"auto",left:"auto"})}this._renderProxy();var j=b(this.helper.css("left")),g=b(this.helper.css("top"));if(i.containment){j+=c(i.containment).scrollLeft()||0;g+=c(i.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:j,top:g};this.size=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalSize=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalPosition={left:j,top:g};this.sizeDiff={width:d.outerWidth()-d.width(),height:d.outerHeight()-d.height()};this.originalMousePosition={left:f.pageX,top:f.pageY};this.aspectRatio=(typeof i.aspectRatio=="number")?i.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var h=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",h=="auto"?this.axis+"-resize":h);d.addClass("ui-resizable-resizing");this._propagate("start",f);return true},_mouseDrag:function(d){var g=this.helper,f=this.options,l={},p=this,i=this.originalMousePosition,m=this.axis;var q=(d.pageX-i.left)||0,n=(d.pageY-i.top)||0;var h=this._change[m];if(!h){return false}var k=h.apply(this,[d,q,n]),j=c.browser.msie&&c.browser.version<7,e=this.sizeDiff;if(this._aspectRatio||d.shiftKey){k=this._updateRatio(k,d)}k=this._respectSize(k,d);this._propagate("resize",d);g.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(k);this._trigger("resize",d,this.ui());return false},_mouseStop:function(g){this.resizing=false;var h=this.options,l=this;if(this._helper){var f=this._proportionallyResizeElements,d=f.length&&(/textarea/i).test(f[0].nodeName),e=d&&c.ui.hasScroll(f[0],"left")?0:l.sizeDiff.height,j=d?0:l.sizeDiff.width;var m={width:(l.size.width-j),height:(l.size.height-e)},i=(parseInt(l.element.css("left"),10)+(l.position.left-l.originalPosition.left))||null,k=(parseInt(l.element.css("top"),10)+(l.position.top-l.originalPosition.top))||null;if(!h.animate){this.element.css(c.extend(m,{top:k,left:i}))}l.helper.height(l.size.height);l.helper.width(l.size.width);if(this._helper&&!h.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",g);if(this._helper){this.helper.remove()}return false},_updateCache:function(d){var e=this.options;this.offset=this.helper.offset();if(a(d.left)){this.position.left=d.left}if(a(d.top)){this.position.top=d.top}if(a(d.height)){this.size.height=d.height}if(a(d.width)){this.size.width=d.width}},_updateRatio:function(g,f){var h=this.options,i=this.position,e=this.size,d=this.axis;if(g.height){g.width=(e.height*this.aspectRatio)}else{if(g.width){g.height=(e.width/this.aspectRatio)}}if(d=="sw"){g.left=i.left+(e.width-g.width);g.top=null}if(d=="nw"){g.top=i.top+(e.height-g.height);g.left=i.left+(e.width-g.width)}return g},_respectSize:function(k,f){var i=this.helper,h=this.options,q=this._aspectRatio||f.shiftKey,p=this.axis,s=a(k.width)&&h.maxWidth&&(h.maxWidthk.width),r=a(k.height)&&h.minHeight&&(h.minHeight>k.height);if(g){k.width=h.minWidth}if(r){k.height=h.minHeight}if(s){k.width=h.maxWidth}if(l){k.height=h.maxHeight}var e=this.originalPosition.left+this.originalSize.width,n=this.position.top+this.size.height;var j=/sw|nw|w/.test(p),d=/nw|ne|n/.test(p);if(g&&j){k.left=e-h.minWidth}if(s&&j){k.left=e-h.maxWidth}if(r&&d){k.top=n-h.minHeight}if(l&&d){k.top=n-h.maxHeight}var m=!k.width&&!k.height;if(m&&!k.left&&k.top){k.top=null}else{if(m&&!k.top&&k.left){k.left=null}}return k},_proportionallyResize:function(){var j=this.options;if(!this._proportionallyResizeElements.length){return}var f=this.helper||this.element;for(var e=0;e');var d=c.browser.msie&&c.browser.version<7,f=(d?1:0),g=(d?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+g,height:this.element.outerHeight()+g,position:"absolute",left:this.elementOffset.left-f+"px",top:this.elementOffset.top-f+"px",zIndex:++h.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(f,e,d){return{width:this.originalSize.width+e}},w:function(g,e,d){var i=this.options,f=this.originalSize,h=this.originalPosition;return{left:h.left+e,width:f.width-e}},n:function(g,e,d){var i=this.options,f=this.originalSize,h=this.originalPosition;return{top:h.top+d,height:f.height-d}},s:function(f,e,d){return{height:this.originalSize.height+d}},se:function(f,e,d){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[f,e,d]))},sw:function(f,e,d){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[f,e,d]))},ne:function(f,e,d){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[f,e,d]))},nw:function(f,e,d){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[f,e,d]))}},_propagate:function(e,d){c.ui.plugin.call(this,e,[d,this.ui()]);(e!="resize"&&this._trigger(e,d,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}));c.extend(c.ui.resizable,{version:"1.7.2",eventPrefix:"resize",defaults:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,cancel:":input,option",containment:false,delay:0,distance:1,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000}});c.ui.plugin.add("resizable","alsoResize",{start:function(e,f){var d=c(this).data("resizable"),g=d.options;_store=function(h){c(h).each(function(){c(this).data("resizable-alsoresize",{width:parseInt(c(this).width(),10),height:parseInt(c(this).height(),10),left:parseInt(c(this).css("left"),10),top:parseInt(c(this).css("top"),10)})})};if(typeof(g.alsoResize)=="object"&&!g.alsoResize.parentNode){if(g.alsoResize.length){g.alsoResize=g.alsoResize[0];_store(g.alsoResize)}else{c.each(g.alsoResize,function(h,i){_store(h)})}}else{_store(g.alsoResize)}},resize:function(f,h){var e=c(this).data("resizable"),i=e.options,g=e.originalSize,k=e.originalPosition;var j={height:(e.size.height-g.height)||0,width:(e.size.width-g.width)||0,top:(e.position.top-k.top)||0,left:(e.position.left-k.left)||0},d=function(l,m){c(l).each(function(){var p=c(this),q=c(this).data("resizable-alsoresize"),o={},n=m&&m.length?m:["width","height","top","left"];c.each(n||["width","height","top","left"],function(r,t){var s=(q[t]||0)+(j[t]||0);if(s&&s>=0){o[t]=s||null}});if(/relative/.test(p.css("position"))&&c.browser.opera){e._revertToRelativePosition=true;p.css({position:"absolute",top:"auto",left:"auto"})}p.css(o)})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.nodeType){c.each(i.alsoResize,function(l,m){d(l,m)})}else{d(i.alsoResize)}},stop:function(e,f){var d=c(this).data("resizable");if(d._revertToRelativePosition&&c.browser.opera){d._revertToRelativePosition=false;el.css({position:"relative"})}c(this).removeData("resizable-alsoresize-start")}});c.ui.plugin.add("resizable","animate",{stop:function(h,m){var n=c(this).data("resizable"),i=n.options;var g=n._proportionallyResizeElements,d=g.length&&(/textarea/i).test(g[0].nodeName),e=d&&c.ui.hasScroll(g[0],"left")?0:n.sizeDiff.height,k=d?0:n.sizeDiff.width;var f={width:(n.size.width-k),height:(n.size.height-e)},j=(parseInt(n.element.css("left"),10)+(n.position.left-n.originalPosition.left))||null,l=(parseInt(n.element.css("top"),10)+(n.position.top-n.originalPosition.top))||null;n.element.animate(c.extend(f,l&&j?{top:l,left:j}:{}),{duration:i.animateDuration,easing:i.animateEasing,step:function(){var o={width:parseInt(n.element.css("width"),10),height:parseInt(n.element.css("height"),10),top:parseInt(n.element.css("top"),10),left:parseInt(n.element.css("left"),10)};if(g&&g.length){c(g[0]).css({width:o.width,height:o.height})}n._updateCache(o);n._propagate("resize",h)}})}});c.ui.plugin.add("resizable","containment",{start:function(e,q){var s=c(this).data("resizable"),i=s.options,k=s.element;var f=i.containment,j=(f instanceof c)?f.get(0):(/parent/.test(f))?k.parent().get(0):f;if(!j){return}s.containerElement=c(j);if(/document/.test(f)||f==document){s.containerOffset={left:0,top:0};s.containerPosition={left:0,top:0};s.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var m=c(j),h=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){h[p]=b(m.css("padding"+o))});s.containerOffset=m.offset();s.containerPosition=m.position();s.containerSize={height:(m.innerHeight()-h[3]),width:(m.innerWidth()-h[1])};var n=s.containerOffset,d=s.containerSize.height,l=s.containerSize.width,g=(c.ui.hasScroll(j,"left")?j.scrollWidth:l),r=(c.ui.hasScroll(j)?j.scrollHeight:d);s.parentData={element:j,left:n.left,top:n.top,width:g,height:r}}},resize:function(f,p){var s=c(this).data("resizable"),h=s.options,e=s.containerSize,n=s.containerOffset,l=s.size,m=s.position,q=s._aspectRatio||f.shiftKey,d={top:0,left:0},g=s.containerElement;if(g[0]!=document&&(/static/).test(g.css("position"))){d=n}if(m.left<(s._helper?n.left:0)){s.size.width=s.size.width+(s._helper?(s.position.left-n.left):(s.position.left-d.left));if(q){s.size.height=s.size.width/h.aspectRatio}s.position.left=h.helper?n.left:0}if(m.top<(s._helper?n.top:0)) -{s.size.height=s.size.height+(s._helper?(s.position.top-n.top):s.position.top);if(q){s.size.width=s.size.height*h.aspectRatio}s.position.top=s._helper?n.top:0}s.offset.left=s.parentData.left+s.position.left;s.offset.top=s.parentData.top+s.position.top;var k=Math.abs((s._helper?s.offset.left-d.left:(s.offset.left-d.left))+s.sizeDiff.width),r=Math.abs((s._helper?s.offset.top-d.top:(s.offset.top-n.top))+s.sizeDiff.height);var j=s.containerElement.get(0)==s.element.parent().get(0),i=/relative|absolute/.test(s.containerElement.css("position"));if(j&&i){k-=s.parentData.left}if(k+s.size.width>=s.parentData.width){s.size.width=s.parentData.width-k;if(q){s.size.height=s.size.width/s.aspectRatio}}if(r+s.size.height>=s.parentData.height){s.size.height=s.parentData.height-r;if(q){s.size.width=s.size.height*s.aspectRatio}}},stop:function(e,m){var p=c(this).data("resizable"),f=p.options,k=p.position,l=p.containerOffset,d=p.containerPosition,g=p.containerElement;var i=c(p.helper),q=i.offset(),n=i.outerWidth()-p.sizeDiff.width,j=i.outerHeight()-p.sizeDiff.height;if(p._helper&&!f.animate&&(/relative/).test(g.css("position"))){c(this).css({left:q.left-d.left-l.left,width:n,height:j})}if(p._helper&&!f.animate&&(/static/).test(g.css("position"))){c(this).css({left:q.left-d.left-l.left,width:n,height:j})}}});c.ui.plugin.add("resizable","ghost",{start:function(f,g){var d=c(this).data("resizable"),h=d.options,e=d.size;d.ghost=d.originalElement.clone();d.ghost.css({opacity:0.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof h.ghost=="string"?h.ghost:"");d.ghost.appendTo(d.helper)},resize:function(e,f){var d=c(this).data("resizable"),g=d.options;if(d.ghost){d.ghost.css({position:"relative",height:d.size.height,width:d.size.width})}},stop:function(e,f){var d=c(this).data("resizable"),g=d.options;if(d.ghost&&d.helper){d.helper.get(0).removeChild(d.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(d,l){var n=c(this).data("resizable"),g=n.options,j=n.size,h=n.originalSize,i=n.originalPosition,m=n.axis,k=g._aspectRatio||d.shiftKey;g.grid=typeof g.grid=="number"?[g.grid,g.grid]:g.grid;var f=Math.round((j.width-h.width)/(g.grid[0]||1))*(g.grid[0]||1),e=Math.round((j.height-h.height)/(g.grid[1]||1))*(g.grid[1]||1);if(/^(se|s|e)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e}else{if(/^(ne)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e;n.position.top=i.top-e}else{if(/^(sw)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e;n.position.left=i.left-f}else{n.size.width=h.width+f;n.size.height=h.height+e;n.position.top=i.top-e;n.position.left=i.left-f}}}}});var b=function(d){return parseInt(d,10)||0};var a=function(d){return !isNaN(parseInt(d,10))}})(jQuery);; -/** - * jQuery.ScrollTo - Easy element scrolling using jQuery. - * Copyright (c) 2008 Ariel Flesler - aflesler(at)gmail(dot)com - * Licensed under GPL license (http://www.opensource.org/licenses/gpl-license.php). - * Date: 2/8/2008 - * @author Ariel Flesler - * @version 1.3.2 - */ -;(function($){var o=$.scrollTo=function(a,b,c){o.window().scrollTo(a,b,c)};o.defaults={axis:'y',duration:1};o.window=function(){return $($.browser.safari?'body':'html')};$.fn.scrollTo=function(l,m,n){if(typeof m=='object'){n=m;m=0}n=$.extend({},o.defaults,n);m=m||n.speed||n.duration;n.queue=n.queue&&n.axis.length>1;if(n.queue)m/=2;n.offset=j(n.offset);n.over=j(n.over);return this.each(function(){var a=this,b=$(a),t=l,c,d={},w=b.is('html,body');switch(typeof t){case'number':case'string':if(/^([+-]=)?\d+(px)?$/.test(t)){t=j(t);break}t=$(t,this);case'object':if(t.is||t.style)c=(t=$(t)).offset()}$.each(n.axis.split(''),function(i,f){var P=f=='x'?'Left':'Top',p=P.toLowerCase(),k='scroll'+P,e=a[k],D=f=='x'?'Width':'Height';if(c){d[k]=c[p]+(w?0:e-b.offset()[p]);if(n.margin){d[k]-=parseInt(t.css('margin'+P))||0;d[k]-=parseInt(t.css('border'+P+'Width'))||0}d[k]+=n.offset[p]||0;if(n.over[p])d[k]+=t[D.toLowerCase()]()*n.over[p]}else d[k]=t[p];if(/^\d+$/.test(d[k]))d[k]=d[k]<=0?0:Math.min(d[k],h(D));if(!i&&n.queue){if(e!=d[k])g(n.onAfterFirst);delete d[k]}});g(n.onAfter);function g(a){b.animate(d,m,n.easing,a&&function(){a.call(this,l)})};function h(D){var b=w?$.browser.opera?document.body:document.documentElement:a;return b['scroll'+D]-b['client'+D]}})};function j(a){return typeof a=='object'?a:{top:a,left:a}}})(jQuery); - diff --git a/docs/doxygen/html/nav_f.png b/docs/doxygen/html/nav_f.png deleted file mode 100644 index 1b07a16..0000000 Binary files a/docs/doxygen/html/nav_f.png and /dev/null differ diff --git a/docs/doxygen/html/nav_h.png b/docs/doxygen/html/nav_h.png deleted file mode 100644 index 01f5fa6..0000000 Binary files a/docs/doxygen/html/nav_h.png and /dev/null differ diff --git a/docs/doxygen/html/navtree.css b/docs/doxygen/html/navtree.css deleted file mode 100644 index e46ffcd..0000000 --- a/docs/doxygen/html/navtree.css +++ /dev/null @@ -1,123 +0,0 @@ -#nav-tree .children_ul { - margin:0; - padding:4px; -} - -#nav-tree ul { - list-style:none outside none; - margin:0px; - padding:0px; -} - -#nav-tree li { - white-space:nowrap; - margin:0px; - padding:0px; -} - -#nav-tree .plus { - margin:0px; -} - -#nav-tree .selected { - background-image: url('tab_a.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); -} - -#nav-tree img { - margin:0px; - padding:0px; - border:0px; - vertical-align: middle; -} - -#nav-tree a { - text-decoration:none; - padding:0px; - margin:0px; - outline:none; -} - -#nav-tree .label { - margin:0px; - padding:0px; -} - -#nav-tree .label a { - padding:2px; -} - -#nav-tree .selected a { - text-decoration:none; - padding:2px; - margin:0px; - color:#fff; -} - -#nav-tree .children_ul { - margin:0px; - padding:0px; -} - -#nav-tree .item { - margin:0px; - padding:0px; -} - -#nav-tree { - padding: 0px 0px; - background-color: #FAFAFF; - font-size:14px; - overflow:auto; -} - -#doc-content { - overflow:auto; - display:block; - padding:0px; - margin:0px; -} - -#side-nav { - padding:0 6px 0 0; - margin: 0px; - display:block; - position: absolute; - left: 0px; - width: 300px; -} - -.ui-resizable .ui-resizable-handle { - display:block; -} - -.ui-resizable-e { - background:url("ftv2splitbar.png") repeat scroll right center transparent; - cursor:e-resize; - height:100%; - right:0; - top:0; - width:6px; -} - -.ui-resizable-handle { - display:none; - font-size:0.1px; - position:absolute; - z-index:1; -} - -#nav-tree-contents { - margin: 6px 0px 0px 0px; -} - -#nav-tree { - background-image:url('nav_h.png'); - background-repeat:repeat-x; - background-color: #F9FAFC; -} - - - diff --git a/docs/doxygen/html/navtree.js b/docs/doxygen/html/navtree.js deleted file mode 100644 index d4c508a..0000000 --- a/docs/doxygen/html/navtree.js +++ /dev/null @@ -1,275 +0,0 @@ -var NAVTREE = -[ - [ "Data Structures", "index.html", [ - [ "Class List", "annotated.html", [ - [ "bt_node", "structbt__node.html", null ], - [ "bt_tree", "structbt__tree.html", null ], - [ "ht_node", "structht__node.html", null ], - [ "ht_table", "structht__table.html", null ], - [ "sll_node", "structsll__node.html", null ] - ] ], - [ "Class Index", "classes.html", null ], - [ "Class Members", "functions.html", null ], - [ "File List", "files.html", [ - [ "src/ht/ht.c", "ht_8c.html", null ], - [ "src/ht/ht.h", "ht_8h.html", null ], - [ "src/lists/double_link/dll.c", "dll_8c.html", null ], - [ "src/lists/double_link/dll.h", "dll_8h.html", null ], - [ "src/lists/single_link/sll.c", "sll_8c.html", null ], - [ "src/lists/single_link/sll.h", "sll_8h.html", null ], - [ "src/trees/avl/avl.c", "avl_8c.html", null ], - [ "src/trees/avl/avl.h", "avl_8h.html", null ], - [ "src/trees/binary/bt.c", "bt_8c.html", null ], - [ "src/trees/binary/bt.h", "bt_8h.html", null ], - [ "src/trees/redblack/rbt.c", "rbt_8c.html", null ], - [ "src/trees/redblack/rbt.h", "rbt_8h.html", null ] - ] ], - [ "File Members", "globals.html", null ] - ] ] -]; - -function createIndent(o,domNode,node,level) -{ - if (node.parentNode && node.parentNode.parentNode) - { - createIndent(o,domNode,node.parentNode,level+1); - } - var imgNode = document.createElement("img"); - if (level==0 && node.childrenData) - { - node.plus_img = imgNode; - node.expandToggle = document.createElement("a"); - node.expandToggle.href = "javascript:void(0)"; - node.expandToggle.onclick = function() - { - if (node.expanded) - { - $(node.getChildrenUL()).slideUp("fast"); - if (node.isLast) - { - node.plus_img.src = node.relpath+"ftv2plastnode.png"; - } - else - { - node.plus_img.src = node.relpath+"ftv2pnode.png"; - } - node.expanded = false; - } - else - { - expandNode(o, node, false); - } - } - node.expandToggle.appendChild(imgNode); - domNode.appendChild(node.expandToggle); - } - else - { - domNode.appendChild(imgNode); - } - if (level==0) - { - if (node.isLast) - { - if (node.childrenData) - { - imgNode.src = node.relpath+"ftv2plastnode.png"; - } - else - { - imgNode.src = node.relpath+"ftv2lastnode.png"; - domNode.appendChild(imgNode); - } - } - else - { - if (node.childrenData) - { - imgNode.src = node.relpath+"ftv2pnode.png"; - } - else - { - imgNode.src = node.relpath+"ftv2node.png"; - domNode.appendChild(imgNode); - } - } - } - else - { - if (node.isLast) - { - imgNode.src = node.relpath+"ftv2blank.png"; - } - else - { - imgNode.src = node.relpath+"ftv2vertline.png"; - } - } - imgNode.border = "0"; -} - -function newNode(o, po, text, link, childrenData, lastNode) -{ - var node = new Object(); - node.children = Array(); - node.childrenData = childrenData; - node.depth = po.depth + 1; - node.relpath = po.relpath; - node.isLast = lastNode; - - node.li = document.createElement("li"); - po.getChildrenUL().appendChild(node.li); - node.parentNode = po; - - node.itemDiv = document.createElement("div"); - node.itemDiv.className = "item"; - - node.labelSpan = document.createElement("span"); - node.labelSpan.className = "label"; - - createIndent(o,node.itemDiv,node,0); - node.itemDiv.appendChild(node.labelSpan); - node.li.appendChild(node.itemDiv); - - var a = document.createElement("a"); - node.labelSpan.appendChild(a); - node.label = document.createTextNode(text); - a.appendChild(node.label); - if (link) - { - a.href = node.relpath+link; - } - else - { - if (childrenData != null) - { - a.className = "nolink"; - a.href = "javascript:void(0)"; - a.onclick = node.expandToggle.onclick; - node.expanded = false; - } - } - - node.childrenUL = null; - node.getChildrenUL = function() - { - if (!node.childrenUL) - { - node.childrenUL = document.createElement("ul"); - node.childrenUL.className = "children_ul"; - node.childrenUL.style.display = "none"; - node.li.appendChild(node.childrenUL); - } - return node.childrenUL; - }; - - return node; -} - -function showRoot() -{ - var headerHeight = $("#top").height(); - var footerHeight = $("#nav-path").height(); - var windowHeight = $(window).height() - headerHeight - footerHeight; - navtree.scrollTo('#selected',0,{offset:-windowHeight/2}); -} - -function expandNode(o, node, imm) -{ - if (node.childrenData && !node.expanded) - { - if (!node.childrenVisited) - { - getNode(o, node); - } - if (imm) - { - $(node.getChildrenUL()).show(); - } - else - { - $(node.getChildrenUL()).slideDown("fast",showRoot); - } - if (node.isLast) - { - node.plus_img.src = node.relpath+"ftv2mlastnode.png"; - } - else - { - node.plus_img.src = node.relpath+"ftv2mnode.png"; - } - node.expanded = true; - } -} - -function getNode(o, po) -{ - po.childrenVisited = true; - var l = po.childrenData.length-1; - for (var i in po.childrenData) - { - var nodeData = po.childrenData[i]; - po.children[i] = newNode(o, po, nodeData[0], nodeData[1], nodeData[2], - i==l); - } -} - -function findNavTreePage(url, data) -{ - var nodes = data; - var result = null; - for (var i in nodes) - { - var d = nodes[i]; - if (d[1] == url) - { - return new Array(i); - } - else if (d[2] != null) // array of children - { - result = findNavTreePage(url, d[2]); - if (result != null) - { - return (new Array(i).concat(result)); - } - } - } - return null; -} - -function initNavTree(toroot,relpath) -{ - var o = new Object(); - o.toroot = toroot; - o.node = new Object(); - o.node.li = document.getElementById("nav-tree-contents"); - o.node.childrenData = NAVTREE; - o.node.children = new Array(); - o.node.childrenUL = document.createElement("ul"); - o.node.getChildrenUL = function() { return o.node.childrenUL; }; - o.node.li.appendChild(o.node.childrenUL); - o.node.depth = 0; - o.node.relpath = relpath; - - getNode(o, o.node); - - o.breadcrumbs = findNavTreePage(toroot, NAVTREE); - if (o.breadcrumbs == null) - { - o.breadcrumbs = findNavTreePage("index.html",NAVTREE); - } - if (o.breadcrumbs != null && o.breadcrumbs.length>0) - { - var p = o.node; - for (var i in o.breadcrumbs) - { - var j = o.breadcrumbs[i]; - p = p.children[j]; - expandNode(o,p,true); - } - p.itemDiv.className = p.itemDiv.className + " selected"; - p.itemDiv.id = "selected"; - $(window).load(showRoot); - } -} - diff --git a/docs/doxygen/html/open.png b/docs/doxygen/html/open.png deleted file mode 100644 index 7b35d2c..0000000 Binary files a/docs/doxygen/html/open.png and /dev/null differ diff --git a/docs/doxygen/html/rbt_8c.html b/docs/doxygen/html/rbt_8c.html deleted file mode 100644 index 8a38976..0000000 --- a/docs/doxygen/html/rbt_8c.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - -Data Structures: src/trees/redblack/rbt.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

src/trees/redblack/rbt.c File Reference

-
- -
- - - - - -
- -
- - - - diff --git a/docs/doxygen/html/rbt_8c_source.html b/docs/doxygen/html/rbt_8c_source.html deleted file mode 100644 index b6bbd9f..0000000 --- a/docs/doxygen/html/rbt_8c_source.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - -Data Structures: src/trees/redblack/rbt.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

src/trees/redblack/rbt.c

-
-
-Go to the documentation of this file.
00001 /******************************************************************************
-00002  * Copyright (c) 2012, Michael D. Lowis
-00003  * All rights reserved.
-00004  *
-00005  * Redistribution and use in source and binary forms, with or without
-00006  * modification, are permitted provided that the following conditions are met:
-00007  *
-00008  * * Redistributions of source code must retain the above copyright notice,
-00009  *   this list of conditions and the following disclaimer.
-00010  *
-00011  * * Redistributions in binary form must reproduce the above copyright notice,
-00012  *   this list of conditions and the following disclaimer in the documentation
-00013  *   and/or other materials provided with the distribution.
-00014  *
-00015  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-00016  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-00017  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-00018  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-00019  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-00020  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-00021  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-00022  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-00023  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-00024  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-00025  * POSSIBILITY OF SUCH DAMAGE.
-00026  *****************************************************************************/
-00027 
-
-
- - - - - -
- -
- - - - diff --git a/docs/doxygen/html/rbt_8h.html b/docs/doxygen/html/rbt_8h.html deleted file mode 100644 index 9e877fa..0000000 --- a/docs/doxygen/html/rbt_8h.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - -Data Structures: src/trees/redblack/rbt.h File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

src/trees/redblack/rbt.h File Reference

-
- -
- - - - - -
- -
- - - - diff --git a/docs/doxygen/html/rbt_8h_source.html b/docs/doxygen/html/rbt_8h_source.html deleted file mode 100644 index 7ff5064..0000000 --- a/docs/doxygen/html/rbt_8h_source.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - -Data Structures: src/trees/redblack/rbt.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

src/trees/redblack/rbt.h

-
-
-Go to the documentation of this file.
00001 /******************************************************************************
-00002  * Copyright (c) 2012, Michael D. Lowis
-00003  * All rights reserved.
-00004  *
-00005  * Redistribution and use in source and binary forms, with or without
-00006  * modification, are permitted provided that the following conditions are met:
-00007  *
-00008  * * Redistributions of source code must retain the above copyright notice,
-00009  *   this list of conditions and the following disclaimer.
-00010  *
-00011  * * Redistributions in binary form must reproduce the above copyright notice,
-00012  *   this list of conditions and the following disclaimer in the documentation
-00013  *   and/or other materials provided with the distribution.
-00014  *
-00015  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-00016  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-00017  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-00018  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-00019  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-00020  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-00021  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-00022  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-00023  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-00024  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-00025  * POSSIBILITY OF SUCH DAMAGE.
-00026  *****************************************************************************/
-00027 
-
-
- - - - - -
- -
- - - - diff --git a/docs/doxygen/html/resize.js b/docs/doxygen/html/resize.js deleted file mode 100644 index 04fa95c..0000000 --- a/docs/doxygen/html/resize.js +++ /dev/null @@ -1,81 +0,0 @@ -var cookie_namespace = 'doxygen'; -var sidenav,navtree,content,header; - -function readCookie(cookie) -{ - var myCookie = cookie_namespace+"_"+cookie+"="; - if (document.cookie) - { - var index = document.cookie.indexOf(myCookie); - if (index != -1) - { - var valStart = index + myCookie.length; - var valEnd = document.cookie.indexOf(";", valStart); - if (valEnd == -1) - { - valEnd = document.cookie.length; - } - var val = document.cookie.substring(valStart, valEnd); - return val; - } - } - return 0; -} - -function writeCookie(cookie, val, expiration) -{ - if (val==undefined) return; - if (expiration == null) - { - var date = new Date(); - date.setTime(date.getTime()+(10*365*24*60*60*1000)); // default expiration is one week - expiration = date.toGMTString(); - } - document.cookie = cookie_namespace + "_" + cookie + "=" + val + "; expires=" + expiration+"; path=/"; -} - -function resizeWidth() -{ - var windowWidth = $(window).width() + "px"; - var sidenavWidth = $(sidenav).width(); - content.css({marginLeft:parseInt(sidenavWidth)+6+"px"}); //account for 6px-wide handle-bar - writeCookie('width',sidenavWidth, null); -} - -function restoreWidth(navWidth) -{ - var windowWidth = $(window).width() + "px"; - content.css({marginLeft:parseInt(navWidth)+6+"px"}); - sidenav.css({width:navWidth + "px"}); -} - -function resizeHeight() -{ - var headerHeight = header.height(); - var footerHeight = footer.height(); - var windowHeight = $(window).height() - headerHeight - footerHeight; - content.css({height:windowHeight + "px"}); - navtree.css({height:windowHeight + "px"}); - sidenav.css({height:windowHeight + "px",top: headerHeight+"px"}); -} - -function initResizable() -{ - header = $("#top"); - sidenav = $("#side-nav"); - content = $("#doc-content"); - navtree = $("#nav-tree"); - footer = $("#nav-path"); - $(".side-nav-resizable").resizable({resize: function(e, ui) { resizeWidth(); } }); - $(window).resize(function() { resizeHeight(); }); - var width = readCookie('width'); - if (width) { restoreWidth(width); } else { resizeWidth(); } - resizeHeight(); - var url = location.href; - var i=url.indexOf("#"); - if (i>=0) window.location.hash=url.substr(i); - var _preventDefault = function(evt) { evt.preventDefault(); }; - $("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault); -} - - diff --git a/docs/doxygen/html/search/all_61.html b/docs/doxygen/html/search/all_61.html deleted file mode 100644 index 185cf19..0000000 --- a/docs/doxygen/html/search/all_61.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- avl.c -
-
-
-
- avl.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/all_62.html b/docs/doxygen/html/search/all_62.html deleted file mode 100644 index bed0ae8..0000000 --- a/docs/doxygen/html/search/all_62.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- bt.c -
-
-
-
- bt.h -
-
-
-
- bt_compare_func - bt.h -
-
- - - - - - - - -
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/all_63.html b/docs/doxygen/html/search/all_63.html deleted file mode 100644 index b032bf2..0000000 --- a/docs/doxygen/html/search/all_63.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- compare - bt_tree -
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/all_64.html b/docs/doxygen/html/search/all_64.html deleted file mode 100644 index 3f03fb3..0000000 --- a/docs/doxygen/html/search/all_64.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- dll.c -
-
-
-
- dll.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/all_68.html b/docs/doxygen/html/search/all_68.html deleted file mode 100644 index 2c77c28..0000000 --- a/docs/doxygen/html/search/all_68.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- hash_func - ht_table -
-
-
-
- ht.c -
-
-
-
- ht.h -
-
- -
-
- ht_find - ht.h -
-
- -
-
- ht_get - ht.c -
-
-
-
- ht_hash_func - ht.h -
-
- -
-
- ht_insert - ht.h -
-
- - -
-
- ht_put - ht.c -
-
- -
-
- ht_table -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/all_6b.html b/docs/doxygen/html/search/all_6b.html deleted file mode 100644 index df8f87b..0000000 --- a/docs/doxygen/html/search/all_6b.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- key - ht_node -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/all_6c.html b/docs/doxygen/html/search/all_6c.html deleted file mode 100644 index cd6897b..0000000 --- a/docs/doxygen/html/search/all_6c.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- left - bt_node -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/all_6e.html b/docs/doxygen/html/search/all_6e.html deleted file mode 100644 index ec17e51..0000000 --- a/docs/doxygen/html/search/all_6e.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - -
-
Loading...
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/all_72.html b/docs/doxygen/html/search/all_72.html deleted file mode 100644 index 6a5f899..0000000 --- a/docs/doxygen/html/search/all_72.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- rbt.c -
-
-
-
- rbt.h -
-
-
-
- right - bt_node -
-
-
-
- root - bt_tree -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/all_73.html b/docs/doxygen/html/search/all_73.html deleted file mode 100644 index 13b8062..0000000 --- a/docs/doxygen/html/search/all_73.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- size - ht_table -
-
-
-
- sll.c -
-
-
-
- sll.h -
-
- - - - - - - - - - - - - -
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/all_74.html b/docs/doxygen/html/search/all_74.html deleted file mode 100644 index 94e9800..0000000 --- a/docs/doxygen/html/search/all_74.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- table - ht_table -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/all_76.html b/docs/doxygen/html/search/all_76.html deleted file mode 100644 index 638e224..0000000 --- a/docs/doxygen/html/search/all_76.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- val - ht_node -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/classes_62.html b/docs/doxygen/html/search/classes_62.html deleted file mode 100644 index fe0bfe7..0000000 --- a/docs/doxygen/html/search/classes_62.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- bt_node -
-
-
-
- bt_tree -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/classes_68.html b/docs/doxygen/html/search/classes_68.html deleted file mode 100644 index 58e6efa..0000000 --- a/docs/doxygen/html/search/classes_68.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- ht_node -
-
-
-
- ht_table -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/classes_6e.html b/docs/doxygen/html/search/classes_6e.html deleted file mode 100644 index fcf8403..0000000 --- a/docs/doxygen/html/search/classes_6e.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- node -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/classes_73.html b/docs/doxygen/html/search/classes_73.html deleted file mode 100644 index 07e2696..0000000 --- a/docs/doxygen/html/search/classes_73.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- sll_node -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/close.png b/docs/doxygen/html/search/close.png deleted file mode 100644 index 9342d3d..0000000 Binary files a/docs/doxygen/html/search/close.png and /dev/null differ diff --git a/docs/doxygen/html/search/files_61.html b/docs/doxygen/html/search/files_61.html deleted file mode 100644 index 185cf19..0000000 --- a/docs/doxygen/html/search/files_61.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- avl.c -
-
-
-
- avl.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/files_62.html b/docs/doxygen/html/search/files_62.html deleted file mode 100644 index 0432a66..0000000 --- a/docs/doxygen/html/search/files_62.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- bt.c -
-
-
-
- bt.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/files_64.html b/docs/doxygen/html/search/files_64.html deleted file mode 100644 index 3f03fb3..0000000 --- a/docs/doxygen/html/search/files_64.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- dll.c -
-
-
-
- dll.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/files_68.html b/docs/doxygen/html/search/files_68.html deleted file mode 100644 index 23ffa6f..0000000 --- a/docs/doxygen/html/search/files_68.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- ht.c -
-
-
-
- ht.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/files_72.html b/docs/doxygen/html/search/files_72.html deleted file mode 100644 index 40dfec1..0000000 --- a/docs/doxygen/html/search/files_72.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- rbt.c -
-
-
-
- rbt.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/files_73.html b/docs/doxygen/html/search/files_73.html deleted file mode 100644 index f36c571..0000000 --- a/docs/doxygen/html/search/files_73.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- sll.c -
-
-
-
- sll.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/functions_62.html b/docs/doxygen/html/search/functions_62.html deleted file mode 100644 index 7e92e6c..0000000 --- a/docs/doxygen/html/search/functions_62.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - diff --git a/docs/doxygen/html/search/functions_68.html b/docs/doxygen/html/search/functions_68.html deleted file mode 100644 index bd8afc0..0000000 --- a/docs/doxygen/html/search/functions_68.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - -
-
Loading...
- -
-
- ht_find - ht.h -
-
- -
-
- ht_get - ht.c -
-
- -
-
- ht_insert - ht.h -
-
- -
-
- ht_put - ht.c -
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/functions_73.html b/docs/doxygen/html/search/functions_73.html deleted file mode 100644 index 8f8c464..0000000 --- a/docs/doxygen/html/search/functions_73.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - -
-
Loading...
- - - - - - - - - - - - -
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/mag_sel.png b/docs/doxygen/html/search/mag_sel.png deleted file mode 100644 index 81f6040..0000000 Binary files a/docs/doxygen/html/search/mag_sel.png and /dev/null differ diff --git a/docs/doxygen/html/search/nomatches.html b/docs/doxygen/html/search/nomatches.html deleted file mode 100644 index b1ded27..0000000 --- a/docs/doxygen/html/search/nomatches.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - -
-
No Matches
-
- - diff --git a/docs/doxygen/html/search/search.css b/docs/doxygen/html/search/search.css deleted file mode 100644 index 50249e5..0000000 --- a/docs/doxygen/html/search/search.css +++ /dev/null @@ -1,240 +0,0 @@ -/*---------------- Search Box */ - -#FSearchBox { - float: left; -} - -#searchli { - float: right; - display: block; - width: 170px; - height: 36px; -} - -#MSearchBox { - white-space : nowrap; - position: absolute; - float: none; - display: inline; - margin-top: 8px; - right: 0px; - width: 170px; - z-index: 102; -} - -#MSearchBox .left -{ - display:block; - position:absolute; - left:10px; - width:20px; - height:19px; - background:url('search_l.png') no-repeat; - background-position:right; -} - -#MSearchSelect { - display:block; - position:absolute; - width:20px; - height:19px; -} - -.left #MSearchSelect { - left:4px; -} - -.right #MSearchSelect { - right:5px; -} - -#MSearchField { - display:block; - position:absolute; - height:19px; - background:url('search_m.png') repeat-x; - border:none; - width:116px; - margin-left:20px; - padding-left:4px; - color: #909090; - outline: none; - font: 9pt Arial, Verdana, sans-serif; -} - -#FSearchBox #MSearchField { - margin-left:15px; -} - -#MSearchBox .right { - display:block; - position:absolute; - right:10px; - top:0px; - width:20px; - height:19px; - background:url('search_r.png') no-repeat; - background-position:left; -} - -#MSearchClose { - display: none; - position: absolute; - top: 4px; - background : none; - border: none; - margin: 0px 4px 0px 0px; - padding: 0px 0px; - outline: none; -} - -.left #MSearchClose { - left: 6px; -} - -.right #MSearchClose { - right: 2px; -} - -.MSearchBoxActive #MSearchField { - color: #000000; -} - -/*---------------- Search filter selection */ - -#MSearchSelectWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid #90A5CE; - background-color: #F9FAFC; - z-index: 1; - padding-top: 4px; - padding-bottom: 4px; - -moz-border-radius: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -.SelectItem { - font: 8pt Arial, Verdana, sans-serif; - padding-left: 2px; - padding-right: 12px; - border: 0px; -} - -span.SelectionMark { - margin-right: 4px; - font-family: monospace; - outline-style: none; - text-decoration: none; -} - -a.SelectItem { - display: block; - outline-style: none; - color: #000000; - text-decoration: none; - padding-left: 6px; - padding-right: 12px; -} - -a.SelectItem:focus, -a.SelectItem:active { - color: #000000; - outline-style: none; - text-decoration: none; -} - -a.SelectItem:hover { - color: #FFFFFF; - background-color: #3D578C; - outline-style: none; - text-decoration: none; - cursor: pointer; - display: block; -} - -/*---------------- Search results window */ - -iframe#MSearchResults { - width: 60ex; - height: 15em; -} - -#MSearchResultsWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid #000; - background-color: #EEF1F7; -} - -/* ----------------------------------- */ - - -#SRIndex { - clear:both; - padding-bottom: 15px; -} - -.SREntry { - font-size: 10pt; - padding-left: 1ex; -} - -.SRPage .SREntry { - font-size: 8pt; - padding: 1px 5px; -} - -body.SRPage { - margin: 5px 2px; -} - -.SRChildren { - padding-left: 3ex; padding-bottom: .5em -} - -.SRPage .SRChildren { - display: none; -} - -.SRSymbol { - font-weight: bold; - color: #425E97; - font-family: Arial, Verdana, sans-serif; - text-decoration: none; - outline: none; -} - -a.SRScope { - display: block; - color: #425E97; - font-family: Arial, Verdana, sans-serif; - text-decoration: none; - outline: none; -} - -a.SRSymbol:focus, a.SRSymbol:active, -a.SRScope:focus, a.SRScope:active { - text-decoration: underline; -} - -.SRPage .SRStatus { - padding: 2px 5px; - font-size: 8pt; - font-style: italic; -} - -.SRResult { - display: none; -} - -DIV.searchresults { - margin-left: 10px; - margin-right: 10px; -} diff --git a/docs/doxygen/html/search/search.js b/docs/doxygen/html/search/search.js deleted file mode 100644 index 2b847e3..0000000 --- a/docs/doxygen/html/search/search.js +++ /dev/null @@ -1,736 +0,0 @@ -// Search script generated by doxygen -// Copyright (C) 2009 by Dimitri van Heesch. - -// The code in this file is loosly based on main.js, part of Natural Docs, -// which is Copyright (C) 2003-2008 Greg Valure -// Natural Docs is licensed under the GPL. - -var indexSectionsWithContent = -{ - 0: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100010011010001110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 1: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000010000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 2: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000110100010000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 3: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000010000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 4: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000010011010001110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 5: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000010000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" -}; - -var indexSectionNames = -{ - 0: "all", - 1: "classes", - 2: "files", - 3: "functions", - 4: "variables", - 5: "typedefs" -}; - -function convertToId(search) -{ - var result = ''; - for (i=0;i do a search - { - this.Search(); - } - } - - this.OnSearchSelectKey = function(evt) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==40 && this.searchIndex0) // Up - { - this.searchIndex--; - this.OnSelectItem(this.searchIndex); - } - else if (e.keyCode==13 || e.keyCode==27) - { - this.OnSelectItem(this.searchIndex); - this.CloseSelectionWindow(); - this.DOMSearchField().focus(); - } - return false; - } - - // --------- Actions - - // Closes the results window. - this.CloseResultsWindow = function() - { - this.DOMPopupSearchResultsWindow().style.display = 'none'; - this.DOMSearchClose().style.display = 'none'; - this.Activate(false); - } - - this.CloseSelectionWindow = function() - { - this.DOMSearchSelectWindow().style.display = 'none'; - } - - // Performs a search. - this.Search = function() - { - this.keyTimeout = 0; - - // strip leading whitespace - var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); - - var code = searchValue.toLowerCase().charCodeAt(0); - var hexCode; - if (code<16) - { - hexCode="0"+code.toString(16); - } - else - { - hexCode=code.toString(16); - } - - var resultsPage; - var resultsPageWithSearch; - var hasResultsPage; - - if (indexSectionsWithContent[this.searchIndex].charAt(code) == '1') - { - resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; - resultsPageWithSearch = resultsPage+'?'+escape(searchValue); - hasResultsPage = true; - } - else // nothing available for this search term - { - resultsPage = this.resultsPath + '/nomatches.html'; - resultsPageWithSearch = resultsPage; - hasResultsPage = false; - } - - window.frames.MSearchResults.location.href = resultsPageWithSearch; - var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); - - if (domPopupSearchResultsWindow.style.display!='block') - { - var domSearchBox = this.DOMSearchBox(); - this.DOMSearchClose().style.display = 'inline'; - if (this.insideFrame) - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - domPopupSearchResultsWindow.style.position = 'relative'; - domPopupSearchResultsWindow.style.display = 'block'; - var width = document.body.clientWidth - 8; // the -8 is for IE :-( - domPopupSearchResultsWindow.style.width = width + 'px'; - domPopupSearchResults.style.width = width + 'px'; - } - else - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; - var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; - domPopupSearchResultsWindow.style.display = 'block'; - left -= domPopupSearchResults.offsetWidth; - domPopupSearchResultsWindow.style.top = top + 'px'; - domPopupSearchResultsWindow.style.left = left + 'px'; - } - } - - this.lastSearchValue = searchValue; - this.lastResultsPage = resultsPage; - } - - // -------- Activation Functions - - // Activates or deactivates the search panel, resetting things to - // their default values if necessary. - this.Activate = function(isActive) - { - if (isActive || // open it - this.DOMPopupSearchResultsWindow().style.display == 'block' - ) - { - this.DOMSearchBox().className = 'MSearchBoxActive'; - - var searchField = this.DOMSearchField(); - - if (searchField.value == this.searchLabel) // clear "Search" term upon entry - { - searchField.value = ''; - this.searchActive = true; - } - } - else if (!isActive) // directly remove the panel - { - this.DOMSearchBox().className = 'MSearchBoxInactive'; - this.DOMSearchField().value = this.searchLabel; - this.searchActive = false; - this.lastSearchValue = '' - this.lastResultsPage = ''; - } - } -} - -// ----------------------------------------------------------------------- - -// The class that handles everything on the search results page. -function SearchResults(name) -{ - // The number of matches from the last run of . - this.lastMatchCount = 0; - this.lastKey = 0; - this.repeatOn = false; - - // Toggles the visibility of the passed element ID. - this.FindChildElement = function(id) - { - var parentElement = document.getElementById(id); - var element = parentElement.firstChild; - - while (element && element!=parentElement) - { - if (element.nodeName == 'DIV' && element.className == 'SRChildren') - { - return element; - } - - if (element.nodeName == 'DIV' && element.hasChildNodes()) - { - element = element.firstChild; - } - else if (element.nextSibling) - { - element = element.nextSibling; - } - else - { - do - { - element = element.parentNode; - } - while (element && element!=parentElement && !element.nextSibling); - - if (element && element!=parentElement) - { - element = element.nextSibling; - } - } - } - } - - this.Toggle = function(id) - { - var element = this.FindChildElement(id); - if (element) - { - if (element.style.display == 'block') - { - element.style.display = 'none'; - } - else - { - element.style.display = 'block'; - } - } - } - - // Searches for the passed string. If there is no parameter, - // it takes it from the URL query. - // - // Always returns true, since other documents may try to call it - // and that may or may not be possible. - this.Search = function(search) - { - if (!search) // get search word from URL - { - search = window.location.search; - search = search.substring(1); // Remove the leading '?' - search = unescape(search); - } - - search = search.replace(/^ +/, ""); // strip leading spaces - search = search.replace(/ +$/, ""); // strip trailing spaces - search = search.toLowerCase(); - search = convertToId(search); - - var resultRows = document.getElementsByTagName("div"); - var matches = 0; - - var i = 0; - while (i < resultRows.length) - { - var row = resultRows.item(i); - if (row.className == "SRResult") - { - var rowMatchName = row.id.toLowerCase(); - rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' - - if (search.length<=rowMatchName.length && - rowMatchName.substr(0, search.length)==search) - { - row.style.display = 'block'; - matches++; - } - else - { - row.style.display = 'none'; - } - } - i++; - } - document.getElementById("Searching").style.display='none'; - if (matches == 0) // no results - { - document.getElementById("NoMatches").style.display='block'; - } - else // at least one result - { - document.getElementById("NoMatches").style.display='none'; - } - this.lastMatchCount = matches; - return true; - } - - // return the first item with index index or higher that is visible - this.NavNext = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index++; - } - return focusItem; - } - - this.NavPrev = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index--; - } - return focusItem; - } - - this.ProcessKeys = function(e) - { - if (e.type == "keydown") - { - this.repeatOn = false; - this.lastKey = e.keyCode; - } - else if (e.type == "keypress") - { - if (!this.repeatOn) - { - if (this.lastKey) this.repeatOn = true; - return false; // ignore first keypress after keydown - } - } - else if (e.type == "keyup") - { - this.lastKey = 0; - this.repeatOn = false; - } - return this.lastKey!=0; - } - - this.Nav = function(evt,itemIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - var newIndex = itemIndex-1; - var focusItem = this.NavPrev(newIndex); - if (focusItem) - { - var child = this.FindChildElement(focusItem.parentNode.parentNode.id); - if (child && child.style.display == 'block') // children visible - { - var n=0; - var tmpElem; - while (1) // search for last child - { - tmpElem = document.getElementById('Item'+newIndex+'_c'+n); - if (tmpElem) - { - focusItem = tmpElem; - } - else // found it! - { - break; - } - n++; - } - } - } - if (focusItem) - { - focusItem.focus(); - } - else // return focus to search field - { - parent.document.getElementById("MSearchField").focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = itemIndex+1; - var focusItem; - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem && elem.style.display == 'block') // children visible - { - focusItem = document.getElementById('Item'+itemIndex+'_c0'); - } - if (!focusItem) focusItem = this.NavNext(newIndex); - if (focusItem) focusItem.focus(); - } - else if (this.lastKey==39) // Right - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'block'; - } - else if (this.lastKey==37) // Left - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'none'; - } - else if (this.lastKey==27) // Escape - { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } - - this.NavChild = function(evt,itemIndex,childIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - if (childIndex>0) - { - var newIndex = childIndex-1; - document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); - } - else // already at first child, jump to parent - { - document.getElementById('Item'+itemIndex).focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = childIndex+1; - var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); - if (!elem) // last child, jump to parent next parent - { - elem = this.NavNext(itemIndex+1); - } - if (elem) - { - elem.focus(); - } - } - else if (this.lastKey==27) // Escape - { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } -} diff --git a/docs/doxygen/html/search/search_l.png b/docs/doxygen/html/search/search_l.png deleted file mode 100644 index c872f4d..0000000 Binary files a/docs/doxygen/html/search/search_l.png and /dev/null differ diff --git a/docs/doxygen/html/search/search_m.png b/docs/doxygen/html/search/search_m.png deleted file mode 100644 index b429a16..0000000 Binary files a/docs/doxygen/html/search/search_m.png and /dev/null differ diff --git a/docs/doxygen/html/search/search_r.png b/docs/doxygen/html/search/search_r.png deleted file mode 100644 index 97ee8b4..0000000 Binary files a/docs/doxygen/html/search/search_r.png and /dev/null differ diff --git a/docs/doxygen/html/search/typedefs_62.html b/docs/doxygen/html/search/typedefs_62.html deleted file mode 100644 index d3a9140..0000000 --- a/docs/doxygen/html/search/typedefs_62.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- bt_compare_func - bt.h -
-
-
-
- bt_node - bt.h -
-
-
-
- bt_tree - bt.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/typedefs_68.html b/docs/doxygen/html/search/typedefs_68.html deleted file mode 100644 index b38a89f..0000000 --- a/docs/doxygen/html/search/typedefs_68.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- ht_hash_func - ht.h -
-
-
-
- ht_node - ht.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/typedefs_73.html b/docs/doxygen/html/search/typedefs_73.html deleted file mode 100644 index 9884e2e..0000000 --- a/docs/doxygen/html/search/typedefs_73.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- sll_node - sll.h -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/variables_63.html b/docs/doxygen/html/search/variables_63.html deleted file mode 100644 index b032bf2..0000000 --- a/docs/doxygen/html/search/variables_63.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- compare - bt_tree -
-
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/variables_68.html b/docs/doxygen/html/search/variables_68.html deleted file mode 100644 index 0f1c5c6..0000000 --- a/docs/doxygen/html/search/variables_68.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- hash_func - ht_table -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/variables_6b.html b/docs/doxygen/html/search/variables_6b.html deleted file mode 100644 index df8f87b..0000000 --- a/docs/doxygen/html/search/variables_6b.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- key - ht_node -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/variables_6c.html b/docs/doxygen/html/search/variables_6c.html deleted file mode 100644 index cd6897b..0000000 --- a/docs/doxygen/html/search/variables_6c.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- left - bt_node -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/variables_6e.html b/docs/doxygen/html/search/variables_6e.html deleted file mode 100644 index ec17e51..0000000 --- a/docs/doxygen/html/search/variables_6e.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - -
-
Loading...
- -
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/variables_72.html b/docs/doxygen/html/search/variables_72.html deleted file mode 100644 index a48d749..0000000 --- a/docs/doxygen/html/search/variables_72.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- right - bt_node -
-
-
-
- root - bt_tree -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/variables_73.html b/docs/doxygen/html/search/variables_73.html deleted file mode 100644 index ff31a73..0000000 --- a/docs/doxygen/html/search/variables_73.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- size - ht_table -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/variables_74.html b/docs/doxygen/html/search/variables_74.html deleted file mode 100644 index 94e9800..0000000 --- a/docs/doxygen/html/search/variables_74.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- table - ht_table -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/search/variables_76.html b/docs/doxygen/html/search/variables_76.html deleted file mode 100644 index 638e224..0000000 --- a/docs/doxygen/html/search/variables_76.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -
-
Loading...
-
-
- val - ht_node -
-
-
Searching...
-
No Matches
- -
- - diff --git a/docs/doxygen/html/sll_8c.html b/docs/doxygen/html/sll_8c.html deleted file mode 100644 index 40ac78f..0000000 --- a/docs/doxygen/html/sll_8c.html +++ /dev/null @@ -1,611 +0,0 @@ - - - - -Data Structures: src/lists/single_link/sll.c File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/lists/single_link/sll.c File Reference

-
-
-
#include "sll.h"
-#include <stdlib.h>
-
-Include dependency graph for sll.c:
-
-
- - -
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

sll_nodesll_new (void *contents)
 Creates a new linked list node with the supplied value.
sll_nodesll_front (sll_node *list)
 Finds and returns the first node in the supplied linked list.
sll_nodesll_back (sll_node *list)
 Finds and returns the last node in the supplied linked list.
sll_nodesll_index (sll_node *list, int index)
 Return the node at the specified index in a linked list.
sll_nodesll_push_back (sll_node *list, void *contents)
 Adds a new node to the end of an existing linked list.
sll_nodesll_push_front (sll_node *list, void *contents)
 Adds a new node to the front of an existing linked list.
sll_nodesll_pop_back (sll_node *list)
sll_nodesll_pop_front (sll_node *list)
sll_nodesll_insert (sll_node *list, int index, void *contents)
 Inserts a new node in a linked list at the specified index.
sll_nodesll_delete (sll_node *list, int index, int free_contents)
 Deletes a node from the supplied list.
void sll_free (sll_node *list, int free_contents)
 Frees all memory used by a linked list.
unsigned int sll_length (sll_node *list)
 Returns the number of elements in the list.
-

Function Documentation

- -
-
- - - - - - - - -
sll_node* sll_back (sll_nodelist)
-
-
- -

Finds and returns the last node in the supplied linked list.

-

This function returns a pointer to the last node in the given linked list.

-
Parameters:
- - -
listThe linked list to search.
-
-
-
Returns:
Pointer to the last node in the supplied list.
- -

Definition at line 42 of file sll.c.

- -

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
sll_node* sll_delete (sll_nodelist,
int index,
int free_contents 
)
-
-
- -

Deletes a node from the supplied list.

-

This function traverses the list to the desired index and frees the memory allocated for that node. If the deleted node has a child then the child is reattached to the deleted node's parent. If free_contents is passed a non-zero value then the node's contents pointer is also freed.

-
Parameters:
- - - - -
listThe list to operate on.
indexThe index of the node to delete.
free_contentsWhether or not to also free the contents of the node.
-
-
-
Returns:
Pointer to the node that is now at the supplied index.
- -

Definition at line 102 of file sll.c.

- -

-Here is the call graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void sll_free (sll_nodelist,
int free_contents 
)
-
-
- -

Frees all memory used by a linked list.

-

This function loops through the supplied list and frees all nodes. Also frees contents if free_contents is passed a non-zero value.

-
Parameters:
- - - -
listThe list to be freed.
free_contentsWhether or not to also free the contents of each node.
-
-
- -

Definition at line 119 of file sll.c.

- -
-
- -
-
- - - - - - - - -
sll_node* sll_front (sll_nodelist)
-
-
- -

Finds and returns the first node in the supplied linked list.

-

This function returns a pointer to the first node in the given linked list.

-
Parameters:
- - -
listThe linked list to search.
-
-
-
Returns:
Pointer to the last node in the supplied list.
- -

Definition at line 38 of file sll.c.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
sll_node* sll_index (sll_nodelist,
int index 
)
-
-
- -

Return the node at the specified index in a linked list.

-

This function loops through the linked list and returns the node in the list at the specified index. Returns NULL if the index is out of range.

-
Parameters:
- - - -
listThe list to search for the supplied index.
indexThe index of the node to return.
-
-
-
Returns:
A pointer to the node and the supplied index, NULL if out of range.
- -

Definition at line 52 of file sll.c.

- -

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
sll_node* sll_insert (sll_nodelist,
int index,
void * contents 
)
-
-
- -

Inserts a new node in a linked list at the specified index.

-

This function traverses the list to the desired index and inserts a new node with the given contents at that position. The node previously at the desired index becomes the child of the new node.

-
Parameters:
- - - - -
listThe list to operate on.
indexThe index where the new node will be inserted.
contentsThe contents of the new node.
-
-
-
Returns:
Pointer to the newly inserted node, NULL if index is out of range.
- -

Definition at line 88 of file sll.c.

- -

-Here is the call graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - -
unsigned int sll_length (sll_nodelist)
-
-
- -

Returns the number of elements in the list.

-

This function loops through the supplied list and returns a count of the number of elements contained in the list.

-
Parameters:
- - -
listThe list to be counted.
-
-
-
Returns:
The number of elements in the list.
- -

Definition at line 134 of file sll.c.

- -
-
- -
-
- - - - - - - - -
sll_node* sll_new (void * contents)
-
-
- -

Creates a new linked list node with the supplied value.

-

This function allocates a new node and populates the node contents with the supplied contents pointer.

-
Parameters:
- - -
contentsThe contents of the newly created node.
-
-
-
Returns:
A pointer to the newly created node.
- -

Definition at line 30 of file sll.c.

- -

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - -
sll_node* sll_pop_back (sll_nodelist)
-
-
- -

Definition at line 80 of file sll.c.

- -
-
- -
-
- - - - - - - - -
sll_node* sll_pop_front (sll_nodelist)
-
-
- -

Definition at line 84 of file sll.c.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
sll_node* sll_push_back (sll_nodelist,
void * contents 
)
-
-
- -

Adds a new node to the end of an existing linked list.

-

This function creates a new node and pushes it to the end of the given list. The newly created node becomes the new tail of the list.

-
Parameters:
- - - -
listThe list to operate on.
contentsThe contents of the new node.
-
-
-
Returns:
Pointer to the newly added node.
- -

Definition at line 70 of file sll.c.

- -

-Here is the call graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
sll_node* sll_push_front (sll_nodelist,
void * contents 
)
-
-
- -

Adds a new node to the front of an existing linked list.

-

This function creates a new node and pushes it to the beginning of the given list. The newly created node becomes the new head of the list.

-
Parameters:
- - - -
listThe list to operate on.
contentsThe contents of the new node.
-
-
-
Returns:
Pointer to the newly added node.
- -

Definition at line 76 of file sll.c.

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/doxygen/html/sll_8c__incl.map b/docs/doxygen/html/sll_8c__incl.map deleted file mode 100644 index 8789ea4..0000000 --- a/docs/doxygen/html/sll_8c__incl.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/doxygen/html/sll_8c__incl.md5 b/docs/doxygen/html/sll_8c__incl.md5 deleted file mode 100644 index 1970863..0000000 --- a/docs/doxygen/html/sll_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -b14f159fc5cc828b95a79084e490f9c4 \ No newline at end of file diff --git a/docs/doxygen/html/sll_8c__incl.png b/docs/doxygen/html/sll_8c__incl.png deleted file mode 100644 index e6f6626..0000000 Binary files a/docs/doxygen/html/sll_8c__incl.png and /dev/null differ diff --git a/docs/doxygen/html/sll_8c_a0582f263482ead73d53b018978513540_icgraph.map b/docs/doxygen/html/sll_8c_a0582f263482ead73d53b018978513540_icgraph.map deleted file mode 100644 index 215a775..0000000 --- a/docs/doxygen/html/sll_8c_a0582f263482ead73d53b018978513540_icgraph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/doxygen/html/sll_8c_a0582f263482ead73d53b018978513540_icgraph.md5 b/docs/doxygen/html/sll_8c_a0582f263482ead73d53b018978513540_icgraph.md5 deleted file mode 100644 index bab161b..0000000 --- a/docs/doxygen/html/sll_8c_a0582f263482ead73d53b018978513540_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -b6584d19ee0d40d5efb71710f0e680e9 \ No newline at end of file diff --git a/docs/doxygen/html/sll_8c_a0582f263482ead73d53b018978513540_icgraph.png b/docs/doxygen/html/sll_8c_a0582f263482ead73d53b018978513540_icgraph.png deleted file mode 100644 index 5848b13..0000000 Binary files a/docs/doxygen/html/sll_8c_a0582f263482ead73d53b018978513540_icgraph.png and /dev/null differ diff --git a/docs/doxygen/html/sll_8c_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.map b/docs/doxygen/html/sll_8c_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.map deleted file mode 100644 index ec84d19..0000000 --- a/docs/doxygen/html/sll_8c_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/doxygen/html/sll_8c_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.md5 b/docs/doxygen/html/sll_8c_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.md5 deleted file mode 100644 index a05fa6e..0000000 --- a/docs/doxygen/html/sll_8c_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -8a3e02e3a297d9481cf4ab88d2597ec1 \ No newline at end of file diff --git a/docs/doxygen/html/sll_8c_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.png b/docs/doxygen/html/sll_8c_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.png deleted file mode 100644 index 3340fc3..0000000 Binary files a/docs/doxygen/html/sll_8c_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.png and /dev/null differ diff --git a/docs/doxygen/html/sll_8c_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.map b/docs/doxygen/html/sll_8c_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.map deleted file mode 100644 index f76c40d..0000000 --- a/docs/doxygen/html/sll_8c_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/doxygen/html/sll_8c_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.md5 b/docs/doxygen/html/sll_8c_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.md5 deleted file mode 100644 index 21203ee..0000000 --- a/docs/doxygen/html/sll_8c_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -f0eaae5a00fe62d72874f4a790f93d86 \ No newline at end of file diff --git a/docs/doxygen/html/sll_8c_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.png b/docs/doxygen/html/sll_8c_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.png deleted file mode 100644 index d613aa9..0000000 Binary files a/docs/doxygen/html/sll_8c_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.png and /dev/null differ diff --git a/docs/doxygen/html/sll_8c_a471151d11dc385e3364c9a38b19ecba7_icgraph.map b/docs/doxygen/html/sll_8c_a471151d11dc385e3364c9a38b19ecba7_icgraph.map deleted file mode 100644 index f5abede..0000000 --- a/docs/doxygen/html/sll_8c_a471151d11dc385e3364c9a38b19ecba7_icgraph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/doxygen/html/sll_8c_a471151d11dc385e3364c9a38b19ecba7_icgraph.md5 b/docs/doxygen/html/sll_8c_a471151d11dc385e3364c9a38b19ecba7_icgraph.md5 deleted file mode 100644 index 17add7a..0000000 --- a/docs/doxygen/html/sll_8c_a471151d11dc385e3364c9a38b19ecba7_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -24311e03e208ca06ba4307b0636c7bf5 \ No newline at end of file diff --git a/docs/doxygen/html/sll_8c_a471151d11dc385e3364c9a38b19ecba7_icgraph.png b/docs/doxygen/html/sll_8c_a471151d11dc385e3364c9a38b19ecba7_icgraph.png deleted file mode 100644 index 236c2b6..0000000 Binary files a/docs/doxygen/html/sll_8c_a471151d11dc385e3364c9a38b19ecba7_icgraph.png and /dev/null differ diff --git a/docs/doxygen/html/sll_8c_a66769edc21579f71972ac90de6da4a9f_cgraph.map b/docs/doxygen/html/sll_8c_a66769edc21579f71972ac90de6da4a9f_cgraph.map deleted file mode 100644 index d3ea992..0000000 --- a/docs/doxygen/html/sll_8c_a66769edc21579f71972ac90de6da4a9f_cgraph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/doxygen/html/sll_8c_a66769edc21579f71972ac90de6da4a9f_cgraph.md5 b/docs/doxygen/html/sll_8c_a66769edc21579f71972ac90de6da4a9f_cgraph.md5 deleted file mode 100644 index aed6b8d..0000000 --- a/docs/doxygen/html/sll_8c_a66769edc21579f71972ac90de6da4a9f_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -493ae324bbbeae2a5e2343119345e996 \ No newline at end of file diff --git a/docs/doxygen/html/sll_8c_a66769edc21579f71972ac90de6da4a9f_cgraph.png b/docs/doxygen/html/sll_8c_a66769edc21579f71972ac90de6da4a9f_cgraph.png deleted file mode 100644 index 24428c5..0000000 Binary files a/docs/doxygen/html/sll_8c_a66769edc21579f71972ac90de6da4a9f_cgraph.png and /dev/null differ diff --git a/docs/doxygen/html/sll_8c_a78ef5151212d47bb63f2fd93453283ed_icgraph.map b/docs/doxygen/html/sll_8c_a78ef5151212d47bb63f2fd93453283ed_icgraph.map deleted file mode 100644 index af2458c..0000000 --- a/docs/doxygen/html/sll_8c_a78ef5151212d47bb63f2fd93453283ed_icgraph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/doxygen/html/sll_8c_a78ef5151212d47bb63f2fd93453283ed_icgraph.md5 b/docs/doxygen/html/sll_8c_a78ef5151212d47bb63f2fd93453283ed_icgraph.md5 deleted file mode 100644 index b9a1cdb..0000000 --- a/docs/doxygen/html/sll_8c_a78ef5151212d47bb63f2fd93453283ed_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -ec7827fa24fb39aad7229bcdca5234c5 \ No newline at end of file diff --git a/docs/doxygen/html/sll_8c_a78ef5151212d47bb63f2fd93453283ed_icgraph.png b/docs/doxygen/html/sll_8c_a78ef5151212d47bb63f2fd93453283ed_icgraph.png deleted file mode 100644 index eff8ca7..0000000 Binary files a/docs/doxygen/html/sll_8c_a78ef5151212d47bb63f2fd93453283ed_icgraph.png and /dev/null differ diff --git a/docs/doxygen/html/sll_8c_aaf7e4557200dec55dec679f63de2b4d1_icgraph.map b/docs/doxygen/html/sll_8c_aaf7e4557200dec55dec679f63de2b4d1_icgraph.map deleted file mode 100644 index 8c7be9d..0000000 --- a/docs/doxygen/html/sll_8c_aaf7e4557200dec55dec679f63de2b4d1_icgraph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/doxygen/html/sll_8c_aaf7e4557200dec55dec679f63de2b4d1_icgraph.md5 b/docs/doxygen/html/sll_8c_aaf7e4557200dec55dec679f63de2b4d1_icgraph.md5 deleted file mode 100644 index f4f947a..0000000 --- a/docs/doxygen/html/sll_8c_aaf7e4557200dec55dec679f63de2b4d1_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -afb77928a72cab79977f39f333b108d3 \ No newline at end of file diff --git a/docs/doxygen/html/sll_8c_aaf7e4557200dec55dec679f63de2b4d1_icgraph.png b/docs/doxygen/html/sll_8c_aaf7e4557200dec55dec679f63de2b4d1_icgraph.png deleted file mode 100644 index 1393880..0000000 Binary files a/docs/doxygen/html/sll_8c_aaf7e4557200dec55dec679f63de2b4d1_icgraph.png and /dev/null differ diff --git a/docs/doxygen/html/sll_8c_af7327f24d1900d495c1bf914a592b631_icgraph.map b/docs/doxygen/html/sll_8c_af7327f24d1900d495c1bf914a592b631_icgraph.map deleted file mode 100644 index 0eb92ea..0000000 --- a/docs/doxygen/html/sll_8c_af7327f24d1900d495c1bf914a592b631_icgraph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/doxygen/html/sll_8c_af7327f24d1900d495c1bf914a592b631_icgraph.md5 b/docs/doxygen/html/sll_8c_af7327f24d1900d495c1bf914a592b631_icgraph.md5 deleted file mode 100644 index 9529b66..0000000 --- a/docs/doxygen/html/sll_8c_af7327f24d1900d495c1bf914a592b631_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -b4d6093647a20f46888e462c823890ec \ No newline at end of file diff --git a/docs/doxygen/html/sll_8c_af7327f24d1900d495c1bf914a592b631_icgraph.png b/docs/doxygen/html/sll_8c_af7327f24d1900d495c1bf914a592b631_icgraph.png deleted file mode 100644 index 51d754c..0000000 Binary files a/docs/doxygen/html/sll_8c_af7327f24d1900d495c1bf914a592b631_icgraph.png and /dev/null differ diff --git a/docs/doxygen/html/sll_8c_afd494f171c24981f0d7a007841f21cfe_cgraph.map b/docs/doxygen/html/sll_8c_afd494f171c24981f0d7a007841f21cfe_cgraph.map deleted file mode 100644 index 65f9037..0000000 --- a/docs/doxygen/html/sll_8c_afd494f171c24981f0d7a007841f21cfe_cgraph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/doxygen/html/sll_8c_afd494f171c24981f0d7a007841f21cfe_cgraph.md5 b/docs/doxygen/html/sll_8c_afd494f171c24981f0d7a007841f21cfe_cgraph.md5 deleted file mode 100644 index 9205e80..0000000 --- a/docs/doxygen/html/sll_8c_afd494f171c24981f0d7a007841f21cfe_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -0421e0bf499fbdebfb519e23e96452d9 \ No newline at end of file diff --git a/docs/doxygen/html/sll_8c_afd494f171c24981f0d7a007841f21cfe_cgraph.png b/docs/doxygen/html/sll_8c_afd494f171c24981f0d7a007841f21cfe_cgraph.png deleted file mode 100644 index 55889dc..0000000 Binary files a/docs/doxygen/html/sll_8c_afd494f171c24981f0d7a007841f21cfe_cgraph.png and /dev/null differ diff --git a/docs/doxygen/html/sll_8c_source.html b/docs/doxygen/html/sll_8c_source.html deleted file mode 100644 index 3154950..0000000 --- a/docs/doxygen/html/sll_8c_source.html +++ /dev/null @@ -1,254 +0,0 @@ - - - - -Data Structures: src/lists/single_link/sll.c Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

src/lists/single_link/sll.c

-
-
-Go to the documentation of this file.
00001 /******************************************************************************
-00002  * Copyright (c) 2012, Michael D. Lowis
-00003  * All rights reserved.
-00004  *
-00005  * Redistribution and use in source and binary forms, with or without
-00006  * modification, are permitted provided that the following conditions are met:
-00007  *
-00008  * * Redistributions of source code must retain the above copyright notice,
-00009  *   this list of conditions and the following disclaimer.
-00010  *
-00011  * * Redistributions in binary form must reproduce the above copyright notice,
-00012  *   this list of conditions and the following disclaimer in the documentation
-00013  *   and/or other materials provided with the distribution.
-00014  *
-00015  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-00016  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-00017  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-00018  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-00019  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-00020  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-00021  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-00022  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-00023  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-00024  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-00025  * POSSIBILITY OF SUCH DAMAGE.
-00026  *****************************************************************************/
-00027 #include "sll.h"
-00028 #include <stdlib.h>
-00029 
-00030 sll_node* sll_new( void* contents )
-00031 {
-00032     sll_node* list = (sll_node*)malloc( sizeof(sll_node) );
-00033     list->contents = contents;
-00034     list->next = NULL;
-00035     return list;
-00036 }
-00037 
-00038 sll_node* sll_front( sll_node* list )
-00039 {
-00040 }
-00041 
-00042 sll_node* sll_back( sll_node* list )
-00043 {
-00044     sll_node* node = list;
-00045     while((node != NULL) && (node->next != NULL))
-00046     {
-00047         node = node->next;
-00048     }
-00049     return node;
-00050 }
-00051 
-00052 sll_node* sll_index( sll_node* list, int index )
-00053 {
-00054     int current = 0;
-00055     sll_node* node = list;
-00056     sll_node* indexed_node = NULL;
-00057     while ((node != NULL))
-00058     {
-00059         if ( current == index )
-00060         {
-00061             indexed_node = node;
-00062             break;
-00063         }
-00064         node = node->next;
-00065         current++;
-00066     }
-00067     return indexed_node;
-00068 }
-00069 
-00070 sll_node* sll_push_back( sll_node* list, void* contents )
-00071 {
-00072     sll_node* node = sll_back( list );
-00073     node->next = sll_new( contents );
-00074 }
-00075 
-00076 sll_node* sll_push_front( sll_node* list, void* contents )
-00077 {
-00078 }
-00079 
-00080 sll_node* sll_pop_back( sll_node* list )
-00081 {
-00082 }
-00083 
-00084 sll_node* sll_pop_front( sll_node* list )
-00085 {
-00086 }
-00087 
-00088 sll_node* sll_insert( sll_node* list, int index, void* contents )
-00089 {
-00090     int req_index = ((index-1) < 0) ? 0 : index-1;
-00091     sll_node* node = sll_index( list, req_index );
-00092     if(node != NULL)
-00093     {
-00094         sll_node* next_next = node->next;
-00095         node->next = sll_new( contents );
-00096         node->next->next = next_next;
-00097         node = node->next;
-00098     }
-00099     return node;
-00100 }
-00101 
-00102 sll_node* sll_delete( sll_node* list, int index, int free_contents)
-00103 {
-00104     sll_node* node = sll_index( list, (index-1));
-00105     if((node != NULL) && (node->next != NULL))
-00106     {
-00107         sll_node* node_to_delete = node->next;
-00108         node->next = node_to_delete->next;
-00109         if (free_contents)
-00110         {
-00111             free(node_to_delete->contents);
-00112         }
-00113         free(node_to_delete);
-00114         node = node->next;
-00115     }
-00116     return node;
-00117 }
-00118 
-00119 void sll_free( sll_node* list, int free_contents)
-00120 {
-00121     sll_node* node = list;
-00122     while( node != NULL )
-00123     {
-00124         sll_node* next = node->next;
-00125         if (free_contents)
-00126             {
-00127             free(node->contents);
-00128             }
-00129         free(node);
-00130         node = next;
-00131     }
-00132 }
-00133 
-00134 unsigned int sll_length(sll_node* list)
-00135 {
-00136     unsigned int length = 0;
-00137     sll_node* item = list;
-00138     for ( item = list; item != NULL; item = item->next )
-00139     {
-00140         length++;
-00141     }
-00142     return length;
-00143 }
-00144 
-
-
- - - - - -
- -
- - - - diff --git a/docs/doxygen/html/sll_8h.html b/docs/doxygen/html/sll_8h.html deleted file mode 100644 index 86acd3e..0000000 --- a/docs/doxygen/html/sll_8h.html +++ /dev/null @@ -1,675 +0,0 @@ - - - - -Data Structures: src/lists/single_link/sll.h File Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
- -
-

src/lists/single_link/sll.h File Reference

-
-
-
-This graph shows which files directly or indirectly include this file:
-
-
- - -
-
-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Classes

struct  sll_node
 A linked list node. More...

-Typedefs

typedef struct sll_node sll_node
 A linked list node.

-Functions

sll_nodesll_new (void *contents)
 Creates a new linked list node with the supplied value.
sll_nodesll_front (sll_node *list)
 Finds and returns the first node in the supplied linked list.
sll_nodesll_back (sll_node *list)
 Finds and returns the last node in the supplied linked list.
sll_nodesll_index (sll_node *list, int index)
 Return the node at the specified index in a linked list.
sll_nodesll_push_front (sll_node *list, void *contents)
 Adds a new node to the front of an existing linked list.
sll_nodesll_push_back (sll_node *list, void *contents)
 Adds a new node to the end of an existing linked list.
void sll_pop_front (sll_node *list, int free_contents)
 Removes and returns a pointer to the first element of the list.
void sll_pop_back (sll_node *list, int free_contents)
 Removes and returns a pointer to the last element of the list.
sll_nodesll_insert (sll_node *list, int index, void *contents)
 Inserts a new node in a linked list at the specified index.
sll_nodesll_delete (sll_node *list, int index, int free_contents)
 Deletes a node from the supplied list.
void sll_free (sll_node *list, int free_contents)
 Frees all memory used by a linked list.
unsigned int sll_length (sll_node *list)
 Returns the number of elements in the list.
-

Typedef Documentation

- -
-
- - - - -
typedef struct sll_node sll_node
-
-
- -

A linked list node.

- -
-
-

Function Documentation

- -
-
- - - - - - - - -
sll_node* sll_back (sll_nodelist)
-
-
- -

Finds and returns the last node in the supplied linked list.

-

This function returns a pointer to the last node in the given linked list.

-
Parameters:
- - -
listThe linked list to search.
-
-
-
Returns:
Pointer to the last node in the supplied list.
- -

Definition at line 42 of file sll.c.

- -

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
sll_node* sll_delete (sll_nodelist,
int index,
int free_contents 
)
-
-
- -

Deletes a node from the supplied list.

-

This function traverses the list to the desired index and frees the memory allocated for that node. If the deleted node has a child then the child is reattached to the deleted node's parent. If free_contents is passed a non-zero value then the node's contents pointer is also freed.

-
Parameters:
- - - - -
listThe list to operate on.
indexThe index of the node to delete.
free_contentsWhether or not to also free the contents of the node.
-
-
-
Returns:
Pointer to the node that is now at the supplied index.
- -

Definition at line 102 of file sll.c.

- -

-Here is the call graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void sll_free (sll_nodelist,
int free_contents 
)
-
-
- -

Frees all memory used by a linked list.

-

This function loops through the supplied list and frees all nodes. Also frees contents if free_contents is passed a non-zero value.

-
Parameters:
- - - -
listThe list to be freed.
free_contentsWhether or not to also free the contents of each node.
-
-
- -

Definition at line 119 of file sll.c.

- -
-
- -
-
- - - - - - - - -
sll_node* sll_front (sll_nodelist)
-
-
- -

Finds and returns the first node in the supplied linked list.

-

This function returns a pointer to the first node in the given linked list.

-
Parameters:
- - -
listThe linked list to search.
-
-
-
Returns:
Pointer to the last node in the supplied list.
- -

Definition at line 38 of file sll.c.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
sll_node* sll_index (sll_nodelist,
int index 
)
-
-
- -

Return the node at the specified index in a linked list.

-

This function loops through the linked list and returns the node in the list at the specified index. Returns NULL if the index is out of range.

-
Parameters:
- - - -
listThe list to search for the supplied index.
indexThe index of the node to return.
-
-
-
Returns:
A pointer to the node and the supplied index, NULL if out of range.
- -

Definition at line 52 of file sll.c.

- -

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
sll_node* sll_insert (sll_nodelist,
int index,
void * contents 
)
-
-
- -

Inserts a new node in a linked list at the specified index.

-

This function traverses the list to the desired index and inserts a new node with the given contents at that position. The node previously at the desired index becomes the child of the new node.

-
Parameters:
- - - - -
listThe list to operate on.
indexThe index where the new node will be inserted.
contentsThe contents of the new node.
-
-
-
Returns:
Pointer to the newly inserted node, NULL if index is out of range.
- -

Definition at line 88 of file sll.c.

- -

-Here is the call graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - -
unsigned int sll_length (sll_nodelist)
-
-
- -

Returns the number of elements in the list.

-

This function loops through the supplied list and returns a count of the number of elements contained in the list.

-
Parameters:
- - -
listThe list to be counted.
-
-
-
Returns:
The number of elements in the list.
- -

Definition at line 134 of file sll.c.

- -
-
- -
-
- - - - - - - - -
sll_node* sll_new (void * contents)
-
-
- -

Creates a new linked list node with the supplied value.

-

This function allocates a new node and populates the node contents with the supplied contents pointer.

-
Parameters:
- - -
contentsThe contents of the newly created node.
-
-
-
Returns:
A pointer to the newly created node.
- -

Definition at line 30 of file sll.c.

- -

-Here is the caller graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void sll_pop_back (sll_nodelist,
int free_contents 
)
-
-
- -

Removes and returns a pointer to the last element of the list.

-

This function removes the last node from the list and frees it's associated memory. If free_contents is passed a non-zero value then it's contents pointer is also freed. The second to last node in the list becomes the new tail of the list.

-
Parameters:
- - - -
listThe list to operate on.
free_contentsDetermines whether to free the contents pointer.
-
-
-
Returns:
Pointer to the newly added node.
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void sll_pop_front (sll_nodelist,
int free_contents 
)
-
-
- -

Removes and returns a pointer to the first element of the list.

-

This function removes the first node from the list and frees it's associated memory. If free_contents is passed a non-zero value then it's contents pointer is also freed. The second node in the list becomes the new head of the list.

-
Parameters:
- - - -
listThe lsit to operate on.
free_contentsDetermines whether to free the contents pointer.
-
-
-
Returns:
Pointer to the newly added node.
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
sll_node* sll_push_back (sll_nodelist,
void * contents 
)
-
-
- -

Adds a new node to the end of an existing linked list.

-

This function creates a new node and pushes it to the end of the given list. The newly created node becomes the new tail of the list.

-
Parameters:
- - - -
listThe list to operate on.
contentsThe contents of the new node.
-
-
-
Returns:
Pointer to the newly added node.
- -

Definition at line 70 of file sll.c.

- -

-Here is the call graph for this function:
-
-
- - -
-

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
sll_node* sll_push_front (sll_nodelist,
void * contents 
)
-
-
- -

Adds a new node to the front of an existing linked list.

-

This function creates a new node and pushes it to the beginning of the given list. The newly created node becomes the new head of the list.

-
Parameters:
- - - -
listThe list to operate on.
contentsThe contents of the new node.
-
-
-
Returns:
Pointer to the newly added node.
- -

Definition at line 76 of file sll.c.

- -
-
-
-
- - - - - -
- -
- - - - diff --git a/docs/doxygen/html/sll_8h__dep__incl.map b/docs/doxygen/html/sll_8h__dep__incl.map deleted file mode 100644 index 734e9d6..0000000 --- a/docs/doxygen/html/sll_8h__dep__incl.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/doxygen/html/sll_8h__dep__incl.md5 b/docs/doxygen/html/sll_8h__dep__incl.md5 deleted file mode 100644 index 28cc661..0000000 --- a/docs/doxygen/html/sll_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -65ad3b8f835ad6147d3817c8c92744bd \ No newline at end of file diff --git a/docs/doxygen/html/sll_8h__dep__incl.png b/docs/doxygen/html/sll_8h__dep__incl.png deleted file mode 100644 index 6cb98a1..0000000 Binary files a/docs/doxygen/html/sll_8h__dep__incl.png and /dev/null differ diff --git a/docs/doxygen/html/sll_8h_a0582f263482ead73d53b018978513540_icgraph.map b/docs/doxygen/html/sll_8h_a0582f263482ead73d53b018978513540_icgraph.map deleted file mode 100644 index 215a775..0000000 --- a/docs/doxygen/html/sll_8h_a0582f263482ead73d53b018978513540_icgraph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/doxygen/html/sll_8h_a0582f263482ead73d53b018978513540_icgraph.md5 b/docs/doxygen/html/sll_8h_a0582f263482ead73d53b018978513540_icgraph.md5 deleted file mode 100644 index bab161b..0000000 --- a/docs/doxygen/html/sll_8h_a0582f263482ead73d53b018978513540_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -b6584d19ee0d40d5efb71710f0e680e9 \ No newline at end of file diff --git a/docs/doxygen/html/sll_8h_a0582f263482ead73d53b018978513540_icgraph.png b/docs/doxygen/html/sll_8h_a0582f263482ead73d53b018978513540_icgraph.png deleted file mode 100644 index 2888cc8..0000000 Binary files a/docs/doxygen/html/sll_8h_a0582f263482ead73d53b018978513540_icgraph.png and /dev/null differ diff --git a/docs/doxygen/html/sll_8h_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.map b/docs/doxygen/html/sll_8h_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.map deleted file mode 100644 index ec84d19..0000000 --- a/docs/doxygen/html/sll_8h_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/doxygen/html/sll_8h_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.md5 b/docs/doxygen/html/sll_8h_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.md5 deleted file mode 100644 index a05fa6e..0000000 --- a/docs/doxygen/html/sll_8h_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -8a3e02e3a297d9481cf4ab88d2597ec1 \ No newline at end of file diff --git a/docs/doxygen/html/sll_8h_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.png b/docs/doxygen/html/sll_8h_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.png deleted file mode 100644 index 3340fc3..0000000 Binary files a/docs/doxygen/html/sll_8h_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.png and /dev/null differ diff --git a/docs/doxygen/html/sll_8h_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.map b/docs/doxygen/html/sll_8h_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.map deleted file mode 100644 index f76c40d..0000000 --- a/docs/doxygen/html/sll_8h_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/doxygen/html/sll_8h_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.md5 b/docs/doxygen/html/sll_8h_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.md5 deleted file mode 100644 index 21203ee..0000000 --- a/docs/doxygen/html/sll_8h_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -f0eaae5a00fe62d72874f4a790f93d86 \ No newline at end of file diff --git a/docs/doxygen/html/sll_8h_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.png b/docs/doxygen/html/sll_8h_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.png deleted file mode 100644 index d613aa9..0000000 Binary files a/docs/doxygen/html/sll_8h_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.png and /dev/null differ diff --git a/docs/doxygen/html/sll_8h_a471151d11dc385e3364c9a38b19ecba7_icgraph.map b/docs/doxygen/html/sll_8h_a471151d11dc385e3364c9a38b19ecba7_icgraph.map deleted file mode 100644 index f5abede..0000000 --- a/docs/doxygen/html/sll_8h_a471151d11dc385e3364c9a38b19ecba7_icgraph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/doxygen/html/sll_8h_a471151d11dc385e3364c9a38b19ecba7_icgraph.md5 b/docs/doxygen/html/sll_8h_a471151d11dc385e3364c9a38b19ecba7_icgraph.md5 deleted file mode 100644 index 17add7a..0000000 --- a/docs/doxygen/html/sll_8h_a471151d11dc385e3364c9a38b19ecba7_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -24311e03e208ca06ba4307b0636c7bf5 \ No newline at end of file diff --git a/docs/doxygen/html/sll_8h_a471151d11dc385e3364c9a38b19ecba7_icgraph.png b/docs/doxygen/html/sll_8h_a471151d11dc385e3364c9a38b19ecba7_icgraph.png deleted file mode 100644 index 236c2b6..0000000 Binary files a/docs/doxygen/html/sll_8h_a471151d11dc385e3364c9a38b19ecba7_icgraph.png and /dev/null differ diff --git a/docs/doxygen/html/sll_8h_a66769edc21579f71972ac90de6da4a9f_cgraph.map b/docs/doxygen/html/sll_8h_a66769edc21579f71972ac90de6da4a9f_cgraph.map deleted file mode 100644 index d3ea992..0000000 --- a/docs/doxygen/html/sll_8h_a66769edc21579f71972ac90de6da4a9f_cgraph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/doxygen/html/sll_8h_a66769edc21579f71972ac90de6da4a9f_cgraph.md5 b/docs/doxygen/html/sll_8h_a66769edc21579f71972ac90de6da4a9f_cgraph.md5 deleted file mode 100644 index aed6b8d..0000000 --- a/docs/doxygen/html/sll_8h_a66769edc21579f71972ac90de6da4a9f_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -493ae324bbbeae2a5e2343119345e996 \ No newline at end of file diff --git a/docs/doxygen/html/sll_8h_a66769edc21579f71972ac90de6da4a9f_cgraph.png b/docs/doxygen/html/sll_8h_a66769edc21579f71972ac90de6da4a9f_cgraph.png deleted file mode 100644 index 8717600..0000000 Binary files a/docs/doxygen/html/sll_8h_a66769edc21579f71972ac90de6da4a9f_cgraph.png and /dev/null differ diff --git a/docs/doxygen/html/sll_8h_a78ef5151212d47bb63f2fd93453283ed_icgraph.map b/docs/doxygen/html/sll_8h_a78ef5151212d47bb63f2fd93453283ed_icgraph.map deleted file mode 100644 index af2458c..0000000 --- a/docs/doxygen/html/sll_8h_a78ef5151212d47bb63f2fd93453283ed_icgraph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/doxygen/html/sll_8h_a78ef5151212d47bb63f2fd93453283ed_icgraph.md5 b/docs/doxygen/html/sll_8h_a78ef5151212d47bb63f2fd93453283ed_icgraph.md5 deleted file mode 100644 index b9a1cdb..0000000 --- a/docs/doxygen/html/sll_8h_a78ef5151212d47bb63f2fd93453283ed_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -ec7827fa24fb39aad7229bcdca5234c5 \ No newline at end of file diff --git a/docs/doxygen/html/sll_8h_a78ef5151212d47bb63f2fd93453283ed_icgraph.png b/docs/doxygen/html/sll_8h_a78ef5151212d47bb63f2fd93453283ed_icgraph.png deleted file mode 100644 index 69860c3..0000000 Binary files a/docs/doxygen/html/sll_8h_a78ef5151212d47bb63f2fd93453283ed_icgraph.png and /dev/null differ diff --git a/docs/doxygen/html/sll_8h_aaf7e4557200dec55dec679f63de2b4d1_icgraph.map b/docs/doxygen/html/sll_8h_aaf7e4557200dec55dec679f63de2b4d1_icgraph.map deleted file mode 100644 index 8c7be9d..0000000 --- a/docs/doxygen/html/sll_8h_aaf7e4557200dec55dec679f63de2b4d1_icgraph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/doxygen/html/sll_8h_aaf7e4557200dec55dec679f63de2b4d1_icgraph.md5 b/docs/doxygen/html/sll_8h_aaf7e4557200dec55dec679f63de2b4d1_icgraph.md5 deleted file mode 100644 index f4f947a..0000000 --- a/docs/doxygen/html/sll_8h_aaf7e4557200dec55dec679f63de2b4d1_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -afb77928a72cab79977f39f333b108d3 \ No newline at end of file diff --git a/docs/doxygen/html/sll_8h_aaf7e4557200dec55dec679f63de2b4d1_icgraph.png b/docs/doxygen/html/sll_8h_aaf7e4557200dec55dec679f63de2b4d1_icgraph.png deleted file mode 100644 index 2133b8b..0000000 Binary files a/docs/doxygen/html/sll_8h_aaf7e4557200dec55dec679f63de2b4d1_icgraph.png and /dev/null differ diff --git a/docs/doxygen/html/sll_8h_af7327f24d1900d495c1bf914a592b631_icgraph.map b/docs/doxygen/html/sll_8h_af7327f24d1900d495c1bf914a592b631_icgraph.map deleted file mode 100644 index 0eb92ea..0000000 --- a/docs/doxygen/html/sll_8h_af7327f24d1900d495c1bf914a592b631_icgraph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/doxygen/html/sll_8h_af7327f24d1900d495c1bf914a592b631_icgraph.md5 b/docs/doxygen/html/sll_8h_af7327f24d1900d495c1bf914a592b631_icgraph.md5 deleted file mode 100644 index 9529b66..0000000 --- a/docs/doxygen/html/sll_8h_af7327f24d1900d495c1bf914a592b631_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -b4d6093647a20f46888e462c823890ec \ No newline at end of file diff --git a/docs/doxygen/html/sll_8h_af7327f24d1900d495c1bf914a592b631_icgraph.png b/docs/doxygen/html/sll_8h_af7327f24d1900d495c1bf914a592b631_icgraph.png deleted file mode 100644 index e4929d4..0000000 Binary files a/docs/doxygen/html/sll_8h_af7327f24d1900d495c1bf914a592b631_icgraph.png and /dev/null differ diff --git a/docs/doxygen/html/sll_8h_afd494f171c24981f0d7a007841f21cfe_cgraph.map b/docs/doxygen/html/sll_8h_afd494f171c24981f0d7a007841f21cfe_cgraph.map deleted file mode 100644 index 65f9037..0000000 --- a/docs/doxygen/html/sll_8h_afd494f171c24981f0d7a007841f21cfe_cgraph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/doxygen/html/sll_8h_afd494f171c24981f0d7a007841f21cfe_cgraph.md5 b/docs/doxygen/html/sll_8h_afd494f171c24981f0d7a007841f21cfe_cgraph.md5 deleted file mode 100644 index 9205e80..0000000 --- a/docs/doxygen/html/sll_8h_afd494f171c24981f0d7a007841f21cfe_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -0421e0bf499fbdebfb519e23e96452d9 \ No newline at end of file diff --git a/docs/doxygen/html/sll_8h_afd494f171c24981f0d7a007841f21cfe_cgraph.png b/docs/doxygen/html/sll_8h_afd494f171c24981f0d7a007841f21cfe_cgraph.png deleted file mode 100644 index 977493f..0000000 Binary files a/docs/doxygen/html/sll_8h_afd494f171c24981f0d7a007841f21cfe_cgraph.png and /dev/null differ diff --git a/docs/doxygen/html/sll_8h_source.html b/docs/doxygen/html/sll_8h_source.html deleted file mode 100644 index a688022..0000000 --- a/docs/doxygen/html/sll_8h_source.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - -Data Structures: src/lists/single_link/sll.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

src/lists/single_link/sll.h

-
-
-Go to the documentation of this file.
00001 /******************************************************************************
-00002  * Copyright (c) 2012, Michael D. Lowis
-00003  * All rights reserved.
-00004  *
-00005  * Redistribution and use in source and binary forms, with or without
-00006  * modification, are permitted provided that the following conditions are met:
-00007  *
-00008  * * Redistributions of source code must retain the above copyright notice,
-00009  *   this list of conditions and the following disclaimer.
-00010  *
-00011  * * Redistributions in binary form must reproduce the above copyright notice,
-00012  *   this list of conditions and the following disclaimer in the documentation
-00013  *   and/or other materials provided with the distribution.
-00014  *
-00015  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-00016  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-00017  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-00018  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-00019  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-00020  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-00021  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-00022  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-00023  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-00024  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-00025  * POSSIBILITY OF SUCH DAMAGE.
-00026  *****************************************************************************/
-00027 #ifndef SLL_H
-00028 #define SLL_H
-00029 
-00031 typedef struct sll_node
-00032 {
-00034     void* contents;
-00036     struct sll_node* next;
-00037 } sll_node;
-00038 
-00049 sll_node* sll_new( void* contents );
-00050 
-00060 sll_node* sll_front(sll_node* list);
-00061 
-00071 sll_node* sll_back(sll_node* list);
-00072 
-00084 sll_node* sll_index(sll_node* list, int index);
-00085 
-00097 sll_node* sll_push_front( sll_node* list, void* contents );
-00098 
-00110 sll_node* sll_push_back( sll_node* list, void* contents );
-00111 
-00125 void sll_pop_front( sll_node* list, int free_contents );
-00126 
-00140 void sll_pop_back( sll_node* list, int free_contents );
-00141 
-00155 sll_node* sll_insert( sll_node* list, int index, void* contents);
-00156 
-00171 sll_node* sll_delete( sll_node* list, int index, int free_contents);
-00172 
-00182 void sll_free( sll_node* list, int free_contents);
-00183 
-00194 unsigned int sll_length(sll_node* list);
-00195 
-00196 #endif
-
-
- - - - - -
- -
- - - - diff --git a/docs/doxygen/html/structbt__node-members.html b/docs/doxygen/html/structbt__node-members.html deleted file mode 100644 index b28b8b3..0000000 --- a/docs/doxygen/html/structbt__node-members.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - -Data Structures: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

bt_node Member List

-
-
-This is the complete list of members for bt_node, including all inherited members. - - - -
contentsbt_node
leftbt_node
rightbt_node
-
- - - - - -
- -
- - - - diff --git a/docs/doxygen/html/structbt__node.html b/docs/doxygen/html/structbt__node.html deleted file mode 100644 index 4d424b1..0000000 --- a/docs/doxygen/html/structbt__node.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - -Data Structures: bt_node Struct Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
- -
-

bt_node Struct Reference

-
-
- -

A binary tree node. -More...

- -

#include <bt.h>

-
-Collaboration diagram for bt_node:
-
-
Collaboration graph
-
[legend]
- -

List of all members.

- - - - - - - - -

-Public Attributes

void * contents
 The contents of the tree node.
struct bt_nodeleft
 The left child of the tree node.
struct bt_noderight
 the right child of the tree node.
-

Detailed Description

-

A binary tree node.

- -

Definition at line 34 of file bt.h.

-

Member Data Documentation

- -
-
- - - - -
void* bt_node::contents
-
-
- -

The contents of the tree node.

- -

Definition at line 37 of file bt.h.

- -
-
- -
-
- - - - -
struct bt_node* bt_node::left
-
-
- -

The left child of the tree node.

- -

Definition at line 39 of file bt.h.

- -
-
- -
-
- - - - -
struct bt_node* bt_node::right
-
-
- -

the right child of the tree node.

- -

Definition at line 41 of file bt.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • src/trees/binary/bt.h
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/doxygen/html/structbt__node__coll__graph.map b/docs/doxygen/html/structbt__node__coll__graph.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/doxygen/html/structbt__node__coll__graph.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/doxygen/html/structbt__node__coll__graph.md5 b/docs/doxygen/html/structbt__node__coll__graph.md5 deleted file mode 100644 index 172e698..0000000 --- a/docs/doxygen/html/structbt__node__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -87d98d54805d23183bb2452718287e70 \ No newline at end of file diff --git a/docs/doxygen/html/structbt__node__coll__graph.png b/docs/doxygen/html/structbt__node__coll__graph.png deleted file mode 100644 index 72a14f5..0000000 Binary files a/docs/doxygen/html/structbt__node__coll__graph.png and /dev/null differ diff --git a/docs/doxygen/html/structbt__tree-members.html b/docs/doxygen/html/structbt__tree-members.html deleted file mode 100644 index eef4dbe..0000000 --- a/docs/doxygen/html/structbt__tree-members.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - -Data Structures: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

bt_tree Member List

-
-
-This is the complete list of members for bt_tree, including all inherited members. - - -
comparebt_tree
rootbt_tree
-
- - - - - -
- -
- - - - diff --git a/docs/doxygen/html/structbt__tree.html b/docs/doxygen/html/structbt__tree.html deleted file mode 100644 index e3fe0a1..0000000 --- a/docs/doxygen/html/structbt__tree.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - -Data Structures: bt_tree Struct Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
- -
-

bt_tree Struct Reference

-
-
- -

A binary tree. -More...

- -

#include <bt.h>

-
-Collaboration diagram for bt_tree:
-
-
Collaboration graph
- - -
[legend]
- -

List of all members.

- - - - - - -

-Public Attributes

bt_noderoot
 The root of the binary tree.
bt_compare_func compare
 The function used to compare data.
-

Detailed Description

-

A binary tree.

- -

Definition at line 45 of file bt.h.

-

Member Data Documentation

- -
- -
- -

The function used to compare data.

- -

Definition at line 50 of file bt.h.

- -
-
- -
-
- - - - -
bt_node* bt_tree::root
-
-
- -

The root of the binary tree.

- -

Definition at line 48 of file bt.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • src/trees/binary/bt.h
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/doxygen/html/structbt__tree__coll__graph.map b/docs/doxygen/html/structbt__tree__coll__graph.map deleted file mode 100644 index 8953904..0000000 --- a/docs/doxygen/html/structbt__tree__coll__graph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/doxygen/html/structbt__tree__coll__graph.md5 b/docs/doxygen/html/structbt__tree__coll__graph.md5 deleted file mode 100644 index 182a7b6..0000000 --- a/docs/doxygen/html/structbt__tree__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -a0300b13010e96b2f69776cc395f6be1 \ No newline at end of file diff --git a/docs/doxygen/html/structbt__tree__coll__graph.png b/docs/doxygen/html/structbt__tree__coll__graph.png deleted file mode 100644 index 64ea8dd..0000000 Binary files a/docs/doxygen/html/structbt__tree__coll__graph.png and /dev/null differ diff --git a/docs/doxygen/html/structht__node-members.html b/docs/doxygen/html/structht__node-members.html deleted file mode 100644 index 6474298..0000000 --- a/docs/doxygen/html/structht__node-members.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - -Data Structures: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

ht_node Member List

-
-
-This is the complete list of members for ht_node, including all inherited members. - - - -
keyht_node
nextht_node
valht_node
-
- - - - - -
- -
- - - - diff --git a/docs/doxygen/html/structht__node.html b/docs/doxygen/html/structht__node.html deleted file mode 100644 index 2ff6db4..0000000 --- a/docs/doxygen/html/structht__node.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - -Data Structures: ht_node Struct Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
- -
-

ht_node Struct Reference

-
-
- -

A node in a hash table. -More...

- -

#include <ht.h>

- -

List of all members.

- - - - - - - - -

-Public Attributes

void * key
 Pointer to the key.
void * val
 Pointer to the value.
struct node * next
 Pointer to the next node in the collision chain.
-

Detailed Description

-

A node in a hash table.

- -

Definition at line 34 of file ht.h.

-

Member Data Documentation

- -
-
- - - - -
void* ht_node::key
-
-
- -

Pointer to the key.

- -

Definition at line 37 of file ht.h.

- -
-
- -
-
- - - - -
struct node* ht_node::next
-
-
- -

Pointer to the next node in the collision chain.

- -

Definition at line 41 of file ht.h.

- -
-
- -
-
- - - - -
void* ht_node::val
-
-
- -

Pointer to the value.

- -

Definition at line 39 of file ht.h.

- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/doxygen/html/structht__table-members.html b/docs/doxygen/html/structht__table-members.html deleted file mode 100644 index a827589..0000000 --- a/docs/doxygen/html/structht__table-members.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - -Data Structures: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

ht_table Member List

-
-
-This is the complete list of members for ht_table, including all inherited members. - - - -
hash_funcht_table
sizeht_table
tableht_table
-
- - - - - -
- -
- - - - diff --git a/docs/doxygen/html/structht__table.html b/docs/doxygen/html/structht__table.html deleted file mode 100644 index 6d549fb..0000000 --- a/docs/doxygen/html/structht__table.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - -Data Structures: ht_table Struct Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
- -
-

ht_table Struct Reference

-
-
- -

A hash table. -More...

- -

#include <ht.h>

-
-Collaboration diagram for ht_table:
-
-
Collaboration graph
- - -
[legend]
- -

List of all members.

- - - - - - - - -

-Public Attributes

unsigned int size
 Size of the internal table.
ht_node ** table
 Pointer to the internal hashing table.
ht_hash_func hash_func
 Function used for hashing elements.
-

Detailed Description

-

A hash table.

- -

Definition at line 45 of file ht.h.

-

Member Data Documentation

- -
- -
- -

Function used for hashing elements.

- -

Definition at line 52 of file ht.h.

- -
-
- -
-
- - - - -
unsigned int ht_table::size
-
-
- -

Size of the internal table.

- -

Definition at line 48 of file ht.h.

- -
-
- -
-
- - - - -
ht_node** ht_table::table
-
-
- -

Pointer to the internal hashing table.

- -

Definition at line 50 of file ht.h.

- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/doxygen/html/structht__table__coll__graph.map b/docs/doxygen/html/structht__table__coll__graph.map deleted file mode 100644 index c6b2096..0000000 --- a/docs/doxygen/html/structht__table__coll__graph.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/doxygen/html/structht__table__coll__graph.md5 b/docs/doxygen/html/structht__table__coll__graph.md5 deleted file mode 100644 index 3746564..0000000 --- a/docs/doxygen/html/structht__table__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -92e4c354a7643cd56d954c6c073fb760 \ No newline at end of file diff --git a/docs/doxygen/html/structht__table__coll__graph.png b/docs/doxygen/html/structht__table__coll__graph.png deleted file mode 100644 index ed73567..0000000 Binary files a/docs/doxygen/html/structht__table__coll__graph.png and /dev/null differ diff --git a/docs/doxygen/html/structnode-members.html b/docs/doxygen/html/structnode-members.html deleted file mode 100644 index c39e2b4..0000000 --- a/docs/doxygen/html/structnode-members.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - -Data Structures: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

node Member List

-
-
-This is the complete list of members for node, including all inherited members. - - - -
keynode
nextnode
valnode
-
- - - - - -
- -
- - - - diff --git a/docs/doxygen/html/structnode.html b/docs/doxygen/html/structnode.html deleted file mode 100644 index af96ce6..0000000 --- a/docs/doxygen/html/structnode.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - -Data Structures: node Struct Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
- -
-

node Struct Reference

-
-
- -

A node in a hash table. -More...

- -

#include <ht.h>

-
-Collaboration diagram for node:
-
-
Collaboration graph
-
[legend]
- -

List of all members.

- - - - - - - - -

-Public Attributes

void * key
 Pointer to the key.
void * val
 Pointer to the value.
struct nodenext
 Pointer to the next node in the collision chain.
-

Detailed Description

-

A node in a hash table.

- -

Definition at line 34 of file ht.h.

-

Member Data Documentation

- -
-
- - - - -
void* node::key
-
-
- -

Pointer to the key.

- -

Definition at line 37 of file ht.h.

- -
-
- -
-
- - - - -
struct node* node::next
-
-
- -

Pointer to the next node in the collision chain.

- -

Definition at line 41 of file ht.h.

- -
-
- -
-
- - - - -
void* node::val
-
-
- -

Pointer to the value.

- -

Definition at line 39 of file ht.h.

- -
-
-
The documentation for this struct was generated from the following file: -
-
- - - - - -
- -
- - - - diff --git a/docs/doxygen/html/structnode__coll__graph.map b/docs/doxygen/html/structnode__coll__graph.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/doxygen/html/structnode__coll__graph.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/doxygen/html/structnode__coll__graph.md5 b/docs/doxygen/html/structnode__coll__graph.md5 deleted file mode 100644 index 5433248..0000000 --- a/docs/doxygen/html/structnode__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -f9352c14e03315c8a2595fb0b6bbf6e2 \ No newline at end of file diff --git a/docs/doxygen/html/structnode__coll__graph.png b/docs/doxygen/html/structnode__coll__graph.png deleted file mode 100644 index 06416d4..0000000 Binary files a/docs/doxygen/html/structnode__coll__graph.png and /dev/null differ diff --git a/docs/doxygen/html/structsll__node-members.html b/docs/doxygen/html/structsll__node-members.html deleted file mode 100644 index 9e2383f..0000000 --- a/docs/doxygen/html/structsll__node-members.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - -Data Structures: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
-
-

sll_node Member List

-
-
-This is the complete list of members for sll_node, including all inherited members. - - -
contentssll_node
nextsll_node
-
- - - - - -
- -
- - - - diff --git a/docs/doxygen/html/structsll__node.html b/docs/doxygen/html/structsll__node.html deleted file mode 100644 index 9b50f51..0000000 --- a/docs/doxygen/html/structsll__node.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - -Data Structures: sll_node Struct Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
Data Structures v0.1
-
A collection of classic data structures implemented in C
-
-
- - -
-
- -
-
-
- -
-
- -
-

sll_node Struct Reference

-
-
- -

A linked list node. -More...

- -

#include <sll.h>

-
-Collaboration diagram for sll_node:
-
-
Collaboration graph
-
[legend]
- -

List of all members.

- - - - - - -

-Public Attributes

void * contents
 Pointer to the contents the node.
struct sll_nodenext
 Pointer to next node in the list.
-

Detailed Description

-

A linked list node.

- -

Definition at line 31 of file sll.h.

-

Member Data Documentation

- -
-
- - - - -
void* sll_node::contents
-
-
- -

Pointer to the contents the node.

- -

Definition at line 34 of file sll.h.

- -
-
- -
-
- - - - -
struct sll_node* sll_node::next
-
-
- -

Pointer to next node in the list.

- -

Definition at line 36 of file sll.h.

- -
-
-
The documentation for this struct was generated from the following file:
    -
  • src/lists/single_link/sll.h
  • -
-
-
- - - - - -
- -
- - - - diff --git a/docs/doxygen/html/structsll__node__coll__graph.map b/docs/doxygen/html/structsll__node__coll__graph.map deleted file mode 100644 index 8be6a30..0000000 --- a/docs/doxygen/html/structsll__node__coll__graph.map +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/docs/doxygen/html/structsll__node__coll__graph.md5 b/docs/doxygen/html/structsll__node__coll__graph.md5 deleted file mode 100644 index 14e56cc..0000000 --- a/docs/doxygen/html/structsll__node__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -5300c452bdaf4885ca37ae7b4793eaf7 \ No newline at end of file diff --git a/docs/doxygen/html/structsll__node__coll__graph.png b/docs/doxygen/html/structsll__node__coll__graph.png deleted file mode 100644 index f070819..0000000 Binary files a/docs/doxygen/html/structsll__node__coll__graph.png and /dev/null differ diff --git a/docs/doxygen/html/tab_a.png b/docs/doxygen/html/tab_a.png deleted file mode 100644 index 2d99ef2..0000000 Binary files a/docs/doxygen/html/tab_a.png and /dev/null differ diff --git a/docs/doxygen/html/tab_b.png b/docs/doxygen/html/tab_b.png deleted file mode 100644 index b2c3d2b..0000000 Binary files a/docs/doxygen/html/tab_b.png and /dev/null differ diff --git a/docs/doxygen/html/tab_h.png b/docs/doxygen/html/tab_h.png deleted file mode 100644 index c11f48f..0000000 Binary files a/docs/doxygen/html/tab_h.png and /dev/null differ diff --git a/docs/doxygen/html/tab_s.png b/docs/doxygen/html/tab_s.png deleted file mode 100644 index 978943a..0000000 Binary files a/docs/doxygen/html/tab_s.png and /dev/null differ diff --git a/docs/doxygen/html/tabs.css b/docs/doxygen/html/tabs.css deleted file mode 100644 index 2192056..0000000 --- a/docs/doxygen/html/tabs.css +++ /dev/null @@ -1,59 +0,0 @@ -.tabs, .tabs2, .tabs3 { - background-image: url('tab_b.png'); - width: 100%; - z-index: 101; - font-size: 13px; -} - -.tabs2 { - font-size: 10px; -} -.tabs3 { - font-size: 9px; -} - -.tablist { - margin: 0; - padding: 0; - display: table; -} - -.tablist li { - float: left; - display: table-cell; - background-image: url('tab_b.png'); - line-height: 36px; - list-style: none; -} - -.tablist a { - display: block; - padding: 0 20px; - font-weight: bold; - background-image:url('tab_s.png'); - background-repeat:no-repeat; - background-position:right; - color: #283A5D; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - text-decoration: none; - outline: none; -} - -.tabs3 .tablist a { - padding: 0 10px; -} - -.tablist a:hover { - background-image: url('tab_h.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); - text-decoration: none; -} - -.tablist li.current a { - background-image: url('tab_a.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); -} diff --git a/docs/doxygen/latex/Makefile b/docs/doxygen/latex/Makefile deleted file mode 100644 index 8b7c89a..0000000 --- a/docs/doxygen/latex/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -all: clean refman.pdf - -pdf: refman.pdf - -refman.pdf: refman.tex - pdflatex refman.tex - makeindex refman.idx - pdflatex refman.tex - latex_count=5 ; \ - while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\ - do \ - echo "Rerunning latex...." ;\ - pdflatex refman.tex ;\ - latex_count=`expr $$latex_count - 1` ;\ - done - - -clean: - rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf diff --git a/docs/doxygen/latex/annotated.tex b/docs/doxygen/latex/annotated.tex deleted file mode 100644 index d95c0a9..0000000 --- a/docs/doxygen/latex/annotated.tex +++ /dev/null @@ -1,8 +0,0 @@ -\section{Class List} -Here are the classes, structs, unions and interfaces with brief descriptions:\begin{DoxyCompactList} -\item\contentsline{section}{\hyperlink{structbt__node}{bt\_\-node} (A binary tree node )}{\pageref{structbt__node}}{} -\item\contentsline{section}{\hyperlink{structbt__tree}{bt\_\-tree} (A binary tree )}{\pageref{structbt__tree}}{} -\item\contentsline{section}{\hyperlink{structht__node}{ht\_\-node} (A node in a hash table )}{\pageref{structht__node}}{} -\item\contentsline{section}{\hyperlink{structht__table}{ht\_\-table} (A hash table )}{\pageref{structht__table}}{} -\item\contentsline{section}{\hyperlink{structsll__node}{sll\_\-node} (A linked list node )}{\pageref{structsll__node}}{} -\end{DoxyCompactList} diff --git a/docs/doxygen/latex/avl_8c.tex b/docs/doxygen/latex/avl_8c.tex deleted file mode 100644 index 552b033..0000000 --- a/docs/doxygen/latex/avl_8c.tex +++ /dev/null @@ -1,4 +0,0 @@ -\hypertarget{avl_8c}{ -\section{src/trees/avl/avl.c File Reference} -\label{avl_8c}\index{src/trees/avl/avl.c@{src/trees/avl/avl.c}} -} diff --git a/docs/doxygen/latex/avl_8h.tex b/docs/doxygen/latex/avl_8h.tex deleted file mode 100644 index 24c5bd8..0000000 --- a/docs/doxygen/latex/avl_8h.tex +++ /dev/null @@ -1,4 +0,0 @@ -\hypertarget{avl_8h}{ -\section{src/trees/avl/avl.h File Reference} -\label{avl_8h}\index{src/trees/avl/avl.h@{src/trees/avl/avl.h}} -} diff --git a/docs/doxygen/latex/bt_8c.tex b/docs/doxygen/latex/bt_8c.tex deleted file mode 100644 index 7539649..0000000 --- a/docs/doxygen/latex/bt_8c.tex +++ /dev/null @@ -1,185 +0,0 @@ -\hypertarget{bt_8c}{ -\section{src/trees/binary/bt.c File Reference} -\label{bt_8c}\index{src/trees/binary/bt.c@{src/trees/binary/bt.c}} -} -{\ttfamily \#include \char`\"{}bt.h\char`\"{}}\par -Include dependency graph for bt.c:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=184pt]{bt_8c__incl} -\end{center} -\end{figure} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -\hyperlink{structbt__tree}{bt\_\-tree} $\ast$ \hyperlink{bt_8c_a3682c3b6d0e0d70a0280de485ca687cc}{bt\_\-new} (\hyperlink{bt_8h_a8a7bf1216efb8b05f20a020acd705f75}{bt\_\-compare\_\-func} compare) -\begin{DoxyCompactList}\small\item\em Creates a new empty binary tree. \item\end{DoxyCompactList}\item -void \hyperlink{bt_8c_aa24dd75e23a367ec824d99793c2ba1bb}{bt\_\-free} (\hyperlink{structbt__tree}{bt\_\-tree} $\ast$tree, int free\_\-contents) -\begin{DoxyCompactList}\small\item\em Frees the memory allocated for all nodes of a tree. \item\end{DoxyCompactList}\item -int \hyperlink{bt_8c_a89f764721b6fb39787a79a597a7759b1}{bt\_\-compare\_\-ptr} (void $\ast$obj1, void $\ast$obj2) -\begin{DoxyCompactList}\small\item\em Compares the value of two pointers. \item\end{DoxyCompactList}\item -void \hyperlink{bt_8c_a08bc1827223c57790bbf396cd60e3317}{bt\_\-insert} (\hyperlink{structbt__tree}{bt\_\-tree} $\ast$tree, void $\ast$data) -\begin{DoxyCompactList}\small\item\em Inserts a new node into the tree. \item\end{DoxyCompactList}\item -void \hyperlink{bt_8c_ad23029f65222ccc60e026a60e124cbb6}{bt\_\-delete} (\hyperlink{structbt__tree}{bt\_\-tree} $\ast$tree, void $\ast$data) -\item -void $\ast$ \hyperlink{bt_8c_a4f6d976b294d6f4e0968e5d4e75a7d31}{bt\_\-find} (\hyperlink{structbt__tree}{bt\_\-tree} $\ast$tree, void $\ast$data) -\begin{DoxyCompactList}\small\item\em Finds and returns the data from a node containing the given data. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{bt_8c_a89f764721b6fb39787a79a597a7759b1}{ -\index{bt.c@{bt.c}!bt\_\-compare\_\-ptr@{bt\_\-compare\_\-ptr}} -\index{bt\_\-compare\_\-ptr@{bt\_\-compare\_\-ptr}!bt.c@{bt.c}} -\subsubsection[{bt\_\-compare\_\-ptr}]{\setlength{\rightskip}{0pt plus 5cm}int bt\_\-compare\_\-ptr ( -\begin{DoxyParamCaption} -\item[{void $\ast$}]{obj1, } -\item[{void $\ast$}]{obj2} -\end{DoxyParamCaption} -)}} -\label{bt_8c_a89f764721b6fb39787a79a597a7759b1} - - -Compares the value of two pointers. - -This function takes two pointers and compares their values returning an integral value representing the result of the comparison. A return value of zero indicates the pointers are equal. A positive value indicates that obj2 is greater than obj1 and a negative value indicates the opposite. - - -\begin{DoxyParams}{Parameters} -{\em obj1} & The first object to be compared. \\ -\hline -{\em obj2} & The second object to be compared.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -The result of the comparison. -\end{DoxyReturn} - - -Definition at line 39 of file bt.c. - -\hypertarget{bt_8c_ad23029f65222ccc60e026a60e124cbb6}{ -\index{bt.c@{bt.c}!bt\_\-delete@{bt\_\-delete}} -\index{bt\_\-delete@{bt\_\-delete}!bt.c@{bt.c}} -\subsubsection[{bt\_\-delete}]{\setlength{\rightskip}{0pt plus 5cm}void bt\_\-delete ( -\begin{DoxyParamCaption} -\item[{{\bf bt\_\-tree} $\ast$}]{tree, } -\item[{void $\ast$}]{data} -\end{DoxyParamCaption} -)}} -\label{bt_8c_ad23029f65222ccc60e026a60e124cbb6} - - -Definition at line 49 of file bt.c. - -\hypertarget{bt_8c_a4f6d976b294d6f4e0968e5d4e75a7d31}{ -\index{bt.c@{bt.c}!bt\_\-find@{bt\_\-find}} -\index{bt\_\-find@{bt\_\-find}!bt.c@{bt.c}} -\subsubsection[{bt\_\-find}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ bt\_\-find ( -\begin{DoxyParamCaption} -\item[{{\bf bt\_\-tree} $\ast$}]{tree, } -\item[{void $\ast$}]{data} -\end{DoxyParamCaption} -)}} -\label{bt_8c_a4f6d976b294d6f4e0968e5d4e75a7d31} - - -Finds and returns the data from a node containing the given data. - -This function uses the tree's compare function to search the tree for a node containing the given data. If a node containing the given data is found then the pointer to the contents of the node is returned. Otherwise a null pointer is returned. - - -\begin{DoxyParams}{Parameters} -{\em tree} & The tree to be searched. \\ -\hline -{\em data} & The data to be searched for.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -Pointer to the found data. -\end{DoxyReturn} - - -Definition at line 54 of file bt.c. - -\hypertarget{bt_8c_aa24dd75e23a367ec824d99793c2ba1bb}{ -\index{bt.c@{bt.c}!bt\_\-free@{bt\_\-free}} -\index{bt\_\-free@{bt\_\-free}!bt.c@{bt.c}} -\subsubsection[{bt\_\-free}]{\setlength{\rightskip}{0pt plus 5cm}void bt\_\-free ( -\begin{DoxyParamCaption} -\item[{{\bf bt\_\-tree} $\ast$}]{tree, } -\item[{int}]{free\_\-contents} -\end{DoxyParamCaption} -)}} -\label{bt_8c_aa24dd75e23a367ec824d99793c2ba1bb} - - -Frees the memory allocated for all nodes of a tree. - -This function frees all memory associated with the given tree. If free\_\-contents has a non-\/zero value then the contents pointer of each node will aslo be freed. - - -\begin{DoxyParams}{Parameters} -{\em tree} & The tree to be freed. \\ -\hline -{\em free\_\-contents} & Determines whether the contents pointers will be freed. \\ -\hline -\end{DoxyParams} - - -Definition at line 34 of file bt.c. - -\hypertarget{bt_8c_a08bc1827223c57790bbf396cd60e3317}{ -\index{bt.c@{bt.c}!bt\_\-insert@{bt\_\-insert}} -\index{bt\_\-insert@{bt\_\-insert}!bt.c@{bt.c}} -\subsubsection[{bt\_\-insert}]{\setlength{\rightskip}{0pt plus 5cm}void bt\_\-insert ( -\begin{DoxyParamCaption} -\item[{{\bf bt\_\-tree} $\ast$}]{tree, } -\item[{void $\ast$}]{data} -\end{DoxyParamCaption} -)}} -\label{bt_8c_a08bc1827223c57790bbf396cd60e3317} - - -Inserts a new node into the tree. - -This function uses the tree's compare function to traverse the tree until an existing node with the given data is found or until a leaf node is reached. If a node exists containing the given data then no insertion is performed. If a leaf node is reached then the a new leaf node is created and set as the left or right child of that leaf node. - - -\begin{DoxyParams}{Parameters} -{\em tree} & The tree in which the node will be inserted. \\ -\hline -{\em data} & The data that the new node will contain. \\ -\hline -\end{DoxyParams} - - -Definition at line 44 of file bt.c. - -\hypertarget{bt_8c_a3682c3b6d0e0d70a0280de485ca687cc}{ -\index{bt.c@{bt.c}!bt\_\-new@{bt\_\-new}} -\index{bt\_\-new@{bt\_\-new}!bt.c@{bt.c}} -\subsubsection[{bt\_\-new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf bt\_\-tree}$\ast$ bt\_\-new ( -\begin{DoxyParamCaption} -\item[{{\bf bt\_\-compare\_\-func}}]{compare} -\end{DoxyParamCaption} -)}} -\label{bt_8c_a3682c3b6d0e0d70a0280de485ca687cc} - - -Creates a new empty binary tree. - -This function creates a new empty binary search tree with the given comparison function. The comparison function will be used during searching, insertions, and deletions, to find and traverse the tree. - - -\begin{DoxyParams}{Parameters} -{\em compare} & The function to use for comparing items in the tree.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -Pointer to the newly created tree. -\end{DoxyReturn} - - -Definition at line 29 of file bt.c. - diff --git a/docs/doxygen/latex/bt_8c__incl.md5 b/docs/doxygen/latex/bt_8c__incl.md5 deleted file mode 100644 index 132757d..0000000 --- a/docs/doxygen/latex/bt_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -d415069c538eb3b092984126fece7bb9 \ No newline at end of file diff --git a/docs/doxygen/latex/bt_8c__incl.pdf b/docs/doxygen/latex/bt_8c__incl.pdf deleted file mode 100644 index e210562..0000000 Binary files a/docs/doxygen/latex/bt_8c__incl.pdf and /dev/null differ diff --git a/docs/doxygen/latex/bt_8h.tex b/docs/doxygen/latex/bt_8h.tex deleted file mode 100644 index 96229b0..0000000 --- a/docs/doxygen/latex/bt_8h.tex +++ /dev/null @@ -1,246 +0,0 @@ -\hypertarget{bt_8h}{ -\section{src/trees/binary/bt.h File Reference} -\label{bt_8h}\index{src/trees/binary/bt.h@{src/trees/binary/bt.h}} -} -This graph shows which files directly or indirectly include this file:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=184pt]{bt_8h__dep__incl} -\end{center} -\end{figure} -\subsection*{Classes} -\begin{DoxyCompactItemize} -\item -struct \hyperlink{structbt__node}{bt\_\-node} -\begin{DoxyCompactList}\small\item\em A binary tree node. \item\end{DoxyCompactList}\item -struct \hyperlink{structbt__tree}{bt\_\-tree} -\begin{DoxyCompactList}\small\item\em A binary tree. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Typedefs} -\begin{DoxyCompactItemize} -\item -typedef int($\ast$ \hyperlink{bt_8h_a8a7bf1216efb8b05f20a020acd705f75}{bt\_\-compare\_\-func} )(void $\ast$, void $\ast$) -\begin{DoxyCompactList}\small\item\em A function pointer for a comparison function. \item\end{DoxyCompactList}\item -typedef struct \hyperlink{structbt__node}{bt\_\-node} \hyperlink{bt_8h_a0add8fba825be5e3f912ab7323c1adaa}{bt\_\-node} -\begin{DoxyCompactList}\small\item\em A binary tree node. \item\end{DoxyCompactList}\item -typedef struct \hyperlink{structbt__tree}{bt\_\-tree} \hyperlink{bt_8h_acc5ee766f7f379b1d2fde9e7468d7e2a}{bt\_\-tree} -\begin{DoxyCompactList}\small\item\em A binary tree. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -\hyperlink{structbt__tree}{bt\_\-tree} $\ast$ \hyperlink{bt_8h_a3682c3b6d0e0d70a0280de485ca687cc}{bt\_\-new} (\hyperlink{bt_8h_a8a7bf1216efb8b05f20a020acd705f75}{bt\_\-compare\_\-func} compare) -\begin{DoxyCompactList}\small\item\em Creates a new empty binary tree. \item\end{DoxyCompactList}\item -void \hyperlink{bt_8h_aa24dd75e23a367ec824d99793c2ba1bb}{bt\_\-free} (\hyperlink{structbt__tree}{bt\_\-tree} $\ast$tree, int free\_\-contents) -\begin{DoxyCompactList}\small\item\em Frees the memory allocated for all nodes of a tree. \item\end{DoxyCompactList}\item -int \hyperlink{bt_8h_a89f764721b6fb39787a79a597a7759b1}{bt\_\-compare\_\-ptr} (void $\ast$obj1, void $\ast$obj2) -\begin{DoxyCompactList}\small\item\em Compares the value of two pointers. \item\end{DoxyCompactList}\item -void \hyperlink{bt_8h_a08bc1827223c57790bbf396cd60e3317}{bt\_\-insert} (\hyperlink{structbt__tree}{bt\_\-tree} $\ast$tree, void $\ast$data) -\begin{DoxyCompactList}\small\item\em Inserts a new node into the tree. \item\end{DoxyCompactList}\item -void \hyperlink{bt_8h_afcbfcbca8b25fe867ea8b7b0deeaef9c}{bt\_\-delete} (\hyperlink{structbt__tree}{bt\_\-tree} $\ast$tree, void $\ast$data, int free\_\-contents) -\begin{DoxyCompactList}\small\item\em Deletes a node for the tree. \item\end{DoxyCompactList}\item -void $\ast$ \hyperlink{bt_8h_a4f6d976b294d6f4e0968e5d4e75a7d31}{bt\_\-find} (\hyperlink{structbt__tree}{bt\_\-tree} $\ast$tree, void $\ast$data) -\begin{DoxyCompactList}\small\item\em Finds and returns the data from a node containing the given data. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Typedef Documentation} -\hypertarget{bt_8h_a8a7bf1216efb8b05f20a020acd705f75}{ -\index{bt.h@{bt.h}!bt\_\-compare\_\-func@{bt\_\-compare\_\-func}} -\index{bt\_\-compare\_\-func@{bt\_\-compare\_\-func}!bt.h@{bt.h}} -\subsubsection[{bt\_\-compare\_\-func}]{\setlength{\rightskip}{0pt plus 5cm}typedef int($\ast$ {\bf bt\_\-compare\_\-func})(void $\ast$, void $\ast$)}} -\label{bt_8h_a8a7bf1216efb8b05f20a020acd705f75} - - -A function pointer for a comparison function. - - - -Definition at line 31 of file bt.h. - -\hypertarget{bt_8h_a0add8fba825be5e3f912ab7323c1adaa}{ -\index{bt.h@{bt.h}!bt\_\-node@{bt\_\-node}} -\index{bt\_\-node@{bt\_\-node}!bt.h@{bt.h}} -\subsubsection[{bt\_\-node}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf bt\_\-node} {\bf bt\_\-node}}} -\label{bt_8h_a0add8fba825be5e3f912ab7323c1adaa} - - -A binary tree node. - -\hypertarget{bt_8h_acc5ee766f7f379b1d2fde9e7468d7e2a}{ -\index{bt.h@{bt.h}!bt\_\-tree@{bt\_\-tree}} -\index{bt\_\-tree@{bt\_\-tree}!bt.h@{bt.h}} -\subsubsection[{bt\_\-tree}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf bt\_\-tree} {\bf bt\_\-tree}}} -\label{bt_8h_acc5ee766f7f379b1d2fde9e7468d7e2a} - - -A binary tree. - - - -\subsection{Function Documentation} -\hypertarget{bt_8h_a89f764721b6fb39787a79a597a7759b1}{ -\index{bt.h@{bt.h}!bt\_\-compare\_\-ptr@{bt\_\-compare\_\-ptr}} -\index{bt\_\-compare\_\-ptr@{bt\_\-compare\_\-ptr}!bt.h@{bt.h}} -\subsubsection[{bt\_\-compare\_\-ptr}]{\setlength{\rightskip}{0pt plus 5cm}int bt\_\-compare\_\-ptr ( -\begin{DoxyParamCaption} -\item[{void $\ast$}]{obj1, } -\item[{void $\ast$}]{obj2} -\end{DoxyParamCaption} -)}} -\label{bt_8h_a89f764721b6fb39787a79a597a7759b1} - - -Compares the value of two pointers. - -This function takes two pointers and compares their values returning an integral value representing the result of the comparison. A return value of zero indicates the pointers are equal. A positive value indicates that obj2 is greater than obj1 and a negative value indicates the opposite. - - -\begin{DoxyParams}{Parameters} -{\em obj1} & The first object to be compared. \\ -\hline -{\em obj2} & The second object to be compared.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -The result of the comparison. -\end{DoxyReturn} - - -Definition at line 39 of file bt.c. - -\hypertarget{bt_8h_afcbfcbca8b25fe867ea8b7b0deeaef9c}{ -\index{bt.h@{bt.h}!bt\_\-delete@{bt\_\-delete}} -\index{bt\_\-delete@{bt\_\-delete}!bt.h@{bt.h}} -\subsubsection[{bt\_\-delete}]{\setlength{\rightskip}{0pt plus 5cm}void bt\_\-delete ( -\begin{DoxyParamCaption} -\item[{{\bf bt\_\-tree} $\ast$}]{tree, } -\item[{void $\ast$}]{data, } -\item[{int}]{free\_\-contents} -\end{DoxyParamCaption} -)}} -\label{bt_8h_afcbfcbca8b25fe867ea8b7b0deeaef9c} - - -Deletes a node for the tree. - -This function uses the tree's compare function to search the tree for a node containing the given data. If a node containing the data is found then the node is freed otherwise no deletion is performed. If free\_\-contents is passed a non-\/zero value then the contents pointer of the node is also freed. - - -\begin{DoxyParams}{Parameters} -{\em tree} & The tree from which the node will be deleted. \\ -\hline -{\em data} & The data to search for in the tree. \\ -\hline -{\em free\_\-contents} & Determines whether the contents pointer will be freed. \\ -\hline -\end{DoxyParams} -\hypertarget{bt_8h_a4f6d976b294d6f4e0968e5d4e75a7d31}{ -\index{bt.h@{bt.h}!bt\_\-find@{bt\_\-find}} -\index{bt\_\-find@{bt\_\-find}!bt.h@{bt.h}} -\subsubsection[{bt\_\-find}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ bt\_\-find ( -\begin{DoxyParamCaption} -\item[{{\bf bt\_\-tree} $\ast$}]{tree, } -\item[{void $\ast$}]{data} -\end{DoxyParamCaption} -)}} -\label{bt_8h_a4f6d976b294d6f4e0968e5d4e75a7d31} - - -Finds and returns the data from a node containing the given data. - -This function uses the tree's compare function to search the tree for a node containing the given data. If a node containing the given data is found then the pointer to the contents of the node is returned. Otherwise a null pointer is returned. - - -\begin{DoxyParams}{Parameters} -{\em tree} & The tree to be searched. \\ -\hline -{\em data} & The data to be searched for.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -Pointer to the found data. -\end{DoxyReturn} - - -Definition at line 54 of file bt.c. - -\hypertarget{bt_8h_aa24dd75e23a367ec824d99793c2ba1bb}{ -\index{bt.h@{bt.h}!bt\_\-free@{bt\_\-free}} -\index{bt\_\-free@{bt\_\-free}!bt.h@{bt.h}} -\subsubsection[{bt\_\-free}]{\setlength{\rightskip}{0pt plus 5cm}void bt\_\-free ( -\begin{DoxyParamCaption} -\item[{{\bf bt\_\-tree} $\ast$}]{tree, } -\item[{int}]{free\_\-contents} -\end{DoxyParamCaption} -)}} -\label{bt_8h_aa24dd75e23a367ec824d99793c2ba1bb} - - -Frees the memory allocated for all nodes of a tree. - -This function frees all memory associated with the given tree. If free\_\-contents has a non-\/zero value then the contents pointer of each node will aslo be freed. - - -\begin{DoxyParams}{Parameters} -{\em tree} & The tree to be freed. \\ -\hline -{\em free\_\-contents} & Determines whether the contents pointers will be freed. \\ -\hline -\end{DoxyParams} - - -Definition at line 34 of file bt.c. - -\hypertarget{bt_8h_a08bc1827223c57790bbf396cd60e3317}{ -\index{bt.h@{bt.h}!bt\_\-insert@{bt\_\-insert}} -\index{bt\_\-insert@{bt\_\-insert}!bt.h@{bt.h}} -\subsubsection[{bt\_\-insert}]{\setlength{\rightskip}{0pt plus 5cm}void bt\_\-insert ( -\begin{DoxyParamCaption} -\item[{{\bf bt\_\-tree} $\ast$}]{tree, } -\item[{void $\ast$}]{data} -\end{DoxyParamCaption} -)}} -\label{bt_8h_a08bc1827223c57790bbf396cd60e3317} - - -Inserts a new node into the tree. - -This function uses the tree's compare function to traverse the tree until an existing node with the given data is found or until a leaf node is reached. If a node exists containing the given data then no insertion is performed. If a leaf node is reached then the a new leaf node is created and set as the left or right child of that leaf node. - - -\begin{DoxyParams}{Parameters} -{\em tree} & The tree in which the node will be inserted. \\ -\hline -{\em data} & The data that the new node will contain. \\ -\hline -\end{DoxyParams} - - -Definition at line 44 of file bt.c. - -\hypertarget{bt_8h_a3682c3b6d0e0d70a0280de485ca687cc}{ -\index{bt.h@{bt.h}!bt\_\-new@{bt\_\-new}} -\index{bt\_\-new@{bt\_\-new}!bt.h@{bt.h}} -\subsubsection[{bt\_\-new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf bt\_\-tree}$\ast$ bt\_\-new ( -\begin{DoxyParamCaption} -\item[{{\bf bt\_\-compare\_\-func}}]{compare} -\end{DoxyParamCaption} -)}} -\label{bt_8h_a3682c3b6d0e0d70a0280de485ca687cc} - - -Creates a new empty binary tree. - -This function creates a new empty binary search tree with the given comparison function. The comparison function will be used during searching, insertions, and deletions, to find and traverse the tree. - - -\begin{DoxyParams}{Parameters} -{\em compare} & The function to use for comparing items in the tree.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -Pointer to the newly created tree. -\end{DoxyReturn} - - -Definition at line 29 of file bt.c. - diff --git a/docs/doxygen/latex/bt_8h__dep__incl.md5 b/docs/doxygen/latex/bt_8h__dep__incl.md5 deleted file mode 100644 index 04f24e1..0000000 --- a/docs/doxygen/latex/bt_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -1c44a8d7d290d71225b96567bd2507d6 \ No newline at end of file diff --git a/docs/doxygen/latex/bt_8h__dep__incl.pdf b/docs/doxygen/latex/bt_8h__dep__incl.pdf deleted file mode 100644 index 1752e80..0000000 Binary files a/docs/doxygen/latex/bt_8h__dep__incl.pdf and /dev/null differ diff --git a/docs/doxygen/latex/dll_8c.tex b/docs/doxygen/latex/dll_8c.tex deleted file mode 100644 index 0ddedda..0000000 --- a/docs/doxygen/latex/dll_8c.tex +++ /dev/null @@ -1,4 +0,0 @@ -\hypertarget{dll_8c}{ -\section{src/lists/double\_\-link/dll.c File Reference} -\label{dll_8c}\index{src/lists/double\_\-link/dll.c@{src/lists/double\_\-link/dll.c}} -} diff --git a/docs/doxygen/latex/dll_8h.tex b/docs/doxygen/latex/dll_8h.tex deleted file mode 100644 index f202fc0..0000000 --- a/docs/doxygen/latex/dll_8h.tex +++ /dev/null @@ -1,4 +0,0 @@ -\hypertarget{dll_8h}{ -\section{src/lists/double\_\-link/dll.h File Reference} -\label{dll_8h}\index{src/lists/double\_\-link/dll.h@{src/lists/double\_\-link/dll.h}} -} diff --git a/docs/doxygen/latex/doxygen.sty b/docs/doxygen/latex/doxygen.sty deleted file mode 100644 index c86ecac..0000000 --- a/docs/doxygen/latex/doxygen.sty +++ /dev/null @@ -1,445 +0,0 @@ -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{doxygen} - -% Packages used by this style file -\RequirePackage{alltt} -\RequirePackage{array} -\RequirePackage{calc} -\RequirePackage{color} -\RequirePackage{fancyhdr} -\RequirePackage{longtable} -\RequirePackage{verbatim} -\RequirePackage{ifthen} -\RequirePackage{xcolor} - -% Use helvetica font instead of times roman -\RequirePackage{helvet} -\RequirePackage{sectsty} -\RequirePackage{tocloft} -\allsectionsfont{\usefont{OT1}{phv}{bc}{n}\selectfont} -\providecommand{\cftchapfont}{% - \fontsize{11}{13}\usefont{OT1}{phv}{bc}{n}\selectfont -} -\providecommand{\cftchappagefont}{% - \fontsize{11}{13}\usefont{OT1}{phv}{c}{n}\selectfont -} -\providecommand{\cftsecfont}{% - \fontsize{10}{12}\usefont{OT1}{phv}{c}{n}\selectfont -} -\providecommand{\cftsecpagefont}{% - \fontsize{10}{12}\usefont{OT1}{phv}{c}{n}\selectfont -} -\providecommand{\cftsubsecfont}{% - \fontsize{10}{12}\usefont{OT1}{phv}{c}{n}\selectfont -} -\providecommand{\cftsubsecpagefont}{% - \fontsize{10}{12}\usefont{OT1}{phv}{c}{n}\selectfont -} -\providecommand{\cftsubsubsecfont}{% - \fontsize{9}{11}\usefont{OT1}{phv}{c}{n}\selectfont -} -\providecommand{\cftsubsubsecpagefont}{% - \fontsize{9}{11}\usefont{OT1}{phv}{c}{n}\selectfont -} -\providecommand{\cftparafont}{% - \fontsize{9}{11}\usefont{OT1}{phv}{c}{n}\selectfont -} -\providecommand{\cftparapagefont}{% - \fontsize{9}{11}\usefont{OT1}{phv}{c}{n}\selectfont -} -\providecommand{\cfttoctitlefont}{% - \fontsize{20}{22}\usefont{OT1}{phv}{b}{n}\selectfont -} -\providecommand{\rmdefault}{phv} -\providecommand{\bfdefault}{bc} - - -% Setup fancy headings -\pagestyle{fancyplain} -\newcommand{\clearemptydoublepage}{% - \newpage{\pagestyle{empty}\cleardoublepage}% -} -\renewcommand{\chaptermark}[1]{% - \markboth{#1}{}% -} -\renewcommand{\sectionmark}[1]{% - \markright{\thesection\ #1}% -} -\fancyhead[LE]{\fancyplain{}{\bfseries\thepage}} -\fancyhead[CE]{\fancyplain{}{}} -\fancyhead[RE]{\fancyplain{}{\bfseries\leftmark}} -\fancyhead[LO]{\fancyplain{}{\bfseries\rightmark}} -\fancyhead[CO]{\fancyplain{}{}} -\fancyhead[RO]{\fancyplain{}{\bfseries\thepage}} -\fancyfoot[LE]{\fancyplain{}{}} -\fancyfoot[CE]{\fancyplain{}{}} -\fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Generated on Fri Mar 23 2012 12:45:04 for Data Structures by Doxygen }} -\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated on Fri Mar 23 2012 12:45:04 for Data Structures by Doxygen }} -\fancyfoot[CO]{\fancyplain{}{}} -\fancyfoot[RO]{\fancyplain{}{}} -%---------- Internal commands used in this style file ---------------- - -% Generic environment used by all paragraph-based environments defined -% below. Note that the command \title{...} needs to be defined inside -% those environments! -\newenvironment{DoxyDesc}[1]{% - \begin{list}{}% - {% - \settowidth{\labelwidth}{40pt}% - \setlength{\leftmargin}{\labelwidth}% - \setlength{\parsep}{0pt}% - \setlength{\itemsep}{-4pt}% - \renewcommand{\makelabel}{\entrylabel}% - }% - \item[#1]% -}{% - \end{list}% -} - -%---------- Commands used by doxygen LaTeX output generator ---------- - -% Used by
 ... 
-\newenvironment{DoxyPre}{% - \small% - \begin{alltt}% -}{% - \end{alltt}% - \normalsize% -} - -% Used by @code ... @endcode -\newenvironment{DoxyCode}{% - \footnotesize% - \verbatim% -}{% - \endverbatim% - \normalsize% -} - -% Used by @example, @include, @includelineno and @dontinclude -\newenvironment{DoxyCodeInclude}{% - \DoxyCode% -}{% - \endDoxyCode% -} - -% Used by @verbatim ... @endverbatim -\newenvironment{DoxyVerb}{% - \footnotesize% - \verbatim% -}{% - \endverbatim% - \normalsize% -} - -% Used by @verbinclude -\newenvironment{DoxyVerbInclude}{% - \DoxyVerb% -}{% - \endDoxyVerb% -} - -% Used by numbered lists (using '-#' or
    ...
) -\newenvironment{DoxyEnumerate}{% - \enumerate% -}{% - \endenumerate% -} - -% Used by bullet lists (using '-', @li, @arg, or
    ...
) -\newenvironment{DoxyItemize}{% - \itemize% -}{% - \enditemize% -} - -% Used by description lists (using
...
) -\newenvironment{DoxyDescription}{% - \description% -}{% - \enddescription% -} - -% Used by @image, @dotfile, and @dot ... @enddot -% (only if caption is specified) -\newenvironment{DoxyImage}{% - \begin{figure}[H]% - \begin{center}% -}{% - \end{center}% - \end{figure}% -} - -% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc -% (only if no caption is specified) -\newenvironment{DoxyImageNoCaption}{% -}{% -} - -% Used by @attention -\newenvironment{DoxyAttention}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @author and @authors -\newenvironment{DoxyAuthor}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @date -\newenvironment{DoxyDate}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @invariant -\newenvironment{DoxyInvariant}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @note -\newenvironment{DoxyNote}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @post -\newenvironment{DoxyPostcond}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @pre -\newenvironment{DoxyPrecond}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @remark -\newenvironment{DoxyRemark}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @return -\newenvironment{DoxyReturn}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @since -\newenvironment{DoxySince}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @see -\newenvironment{DoxySeeAlso}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @version -\newenvironment{DoxyVersion}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @warning -\newenvironment{DoxyWarning}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @internal -\newenvironment{DoxyInternal}[1]{% - \paragraph*{#1}% -}{% -} - -% Used by @par and @paragraph -\newenvironment{DoxyParagraph}[1]{% - \begin{list}{}% - {% - \settowidth{\labelwidth}{40pt}% - \setlength{\leftmargin}{\labelwidth}% - \setlength{\parsep}{0pt}% - \setlength{\itemsep}{-4pt}% - \renewcommand{\makelabel}{\entrylabel}% - }% - \item[#1]% -}{% - \end{list}% -} - -% Used by parameter lists -\newenvironment{DoxyParams}[2][]{% - \begin{DoxyDesc}{#2}% - \begin{description}% - \item[] \hspace{\fill} \vspace{-25pt}% - \definecolor{tableShade}{HTML}{F8F8F8}% - \rowcolors{1}{white}{tableShade}% - \arrayrulecolor{gray}% - \setlength{\tabcolsep}{0.01\textwidth}% - \ifthenelse{\equal{#1}{}} - {\begin{longtable}{|>{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% - p{0.87\textwidth}|}}% - {\ifthenelse{\equal{#1}{1}}% - {\begin{longtable}{|>{\centering}p{0.10\textwidth}|% - >{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% - p{0.75\textwidth}|}}% - {\begin{longtable}{|>{\centering}p{0.10\textwidth}|% - >{\centering\hspace{0pt}}p{0.15\textwidth}|% - >{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% - p{0.58\textwidth}|}}% - }\hline% -}{% - \end{longtable}% - \end{description}% - \end{DoxyDesc}% -} - -% is used for parameters within a detailed function description -\newenvironment{DoxyParamCaption}{% - \renewcommand{\item}[2][]{##1 {\em ##2}}% - }{% -} - -% Used by return value lists -\newenvironment{DoxyRetVals}[1]{% - \begin{DoxyDesc}{#1}% - \begin{description}% - \item[] \hspace{\fill} \vspace{-25pt}% - \definecolor{tableShade}{HTML}{F8F8F8}% - \rowcolors{1}{white}{tableShade}% - \arrayrulecolor{gray}% - \setlength{\tabcolsep}{0.01\textwidth}% - \begin{longtable}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% - p{0.77\textwidth}|}% - \hline% -}{% - \end{longtable}% - \end{description}% - \end{DoxyDesc}% -} - -% Used by exception lists -\newenvironment{DoxyExceptions}[1]{% - \begin{DoxyDesc}{#1}% - \begin{description}% - \item[] \hspace{\fill} \vspace{-25pt}% - \definecolor{tableShade}{HTML}{F8F8F8}% - \rowcolors{1}{white}{tableShade}% - \arrayrulecolor{gray}% - \setlength{\tabcolsep}{0.01\textwidth}% - \begin{longtable}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% - p{0.77\textwidth}|}% - \hline% -}{% - \end{longtable}% - \end{description}% - \end{DoxyDesc}% -} - -% Used by template parameter lists -\newenvironment{DoxyTemplParams}[1]{% - \begin{DoxyDesc}{#1}% - \begin{description}% - \item[] \hspace{\fill} \vspace{-25pt}% - \definecolor{tableShade}{HTML}{F8F8F8}% - \rowcolors{1}{white}{tableShade}% - \arrayrulecolor{gray}% - \setlength{\tabcolsep}{0.01\textwidth}% - \begin{longtable}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% - p{0.77\textwidth}|}% - \hline% -}{% - \end{longtable}% - \end{description}% - \end{DoxyDesc}% -} - -\newcommand{\doxyref}[3]{\textbf{#1} (\textnormal{#2}\,\pageref{#3})} -\newenvironment{DoxyCompactList} -{\begin{list}{}{ - \setlength{\leftmargin}{0.5cm} - \setlength{\itemsep}{0pt} - \setlength{\parsep}{0pt} - \setlength{\topsep}{0pt} - \renewcommand{\makelabel}{\hfill}}} -{\end{list}} -\newenvironment{DoxyCompactItemize} -{ - \begin{itemize} - \setlength{\itemsep}{-3pt} - \setlength{\parsep}{0pt} - \setlength{\topsep}{0pt} - \setlength{\partopsep}{0pt} -} -{\end{itemize}} -\newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp} -\newlength{\tmplength} -\newenvironment{TabularC}[1] -{ -\setlength{\tmplength} - {\linewidth/(#1)-\tabcolsep*2-\arrayrulewidth*(#1+1)/(#1)} - \par\begin{tabular*}{\linewidth} - {*{#1}{|>{\PBS\raggedright\hspace{0pt}}p{\the\tmplength}}|} -} -{\end{tabular*}\par} -\newcommand{\entrylabel}[1]{ - {\parbox[b]{\labelwidth-4pt}{\makebox[0pt][l]{\textbf{#1}}\vspace{1.5\baselineskip}}}} -\newenvironment{Desc} -{\begin{list}{} - { - \settowidth{\labelwidth}{40pt} - \setlength{\leftmargin}{\labelwidth} - \setlength{\parsep}{0pt} - \setlength{\itemsep}{-4pt} - \renewcommand{\makelabel}{\entrylabel} - } -} -{\end{list}} -\newenvironment{Indent} - {\begin{list}{}{\setlength{\leftmargin}{0.5cm}} - \item[]\ignorespaces} - {\unskip\end{list}} -\setlength{\parindent}{0cm} -\setlength{\parskip}{0.2cm} -\addtocounter{secnumdepth}{1} -\usepackage[T1]{fontenc} -\makeatletter -\renewcommand{\paragraph}{\@startsection{paragraph}{4}{0ex}% - {-3.25ex plus -1ex minus -0.2ex}% - {1.5ex plus 0.2ex}% - {\normalfont\normalsize\bfseries}} -\makeatother -\stepcounter{secnumdepth} -\stepcounter{tocdepth} -\definecolor{comment}{rgb}{0.5,0.0,0.0} -\definecolor{keyword}{rgb}{0.0,0.5,0.0} -\definecolor{keywordtype}{rgb}{0.38,0.25,0.125} -\definecolor{keywordflow}{rgb}{0.88,0.5,0.0} -\definecolor{preprocessor}{rgb}{0.5,0.38,0.125} -\definecolor{stringliteral}{rgb}{0.0,0.125,0.25} -\definecolor{charliteral}{rgb}{0.0,0.5,0.5} -\definecolor{vhdldigit}{rgb}{1.0,0.0,1.0} -\definecolor{vhdlkeyword}{rgb}{0.43,0.0,0.43} -\definecolor{vhdllogic}{rgb}{1.0,0.0,0.0} -\definecolor{vhdlchar}{rgb}{0.0,0.0,0.0} diff --git a/docs/doxygen/latex/files.tex b/docs/doxygen/latex/files.tex deleted file mode 100644 index 9aeb94c..0000000 --- a/docs/doxygen/latex/files.tex +++ /dev/null @@ -1,15 +0,0 @@ -\section{File List} -Here is a list of all files with brief descriptions:\begin{DoxyCompactList} -\item\contentsline{section}{src/ht/\hyperlink{ht_8c}{ht.c} }{\pageref{ht_8c}}{} -\item\contentsline{section}{src/ht/\hyperlink{ht_8h}{ht.h} }{\pageref{ht_8h}}{} -\item\contentsline{section}{src/lists/double\_\-link/\hyperlink{dll_8c}{dll.c} }{\pageref{dll_8c}}{} -\item\contentsline{section}{src/lists/double\_\-link/\hyperlink{dll_8h}{dll.h} }{\pageref{dll_8h}}{} -\item\contentsline{section}{src/lists/single\_\-link/\hyperlink{sll_8c}{sll.c} }{\pageref{sll_8c}}{} -\item\contentsline{section}{src/lists/single\_\-link/\hyperlink{sll_8h}{sll.h} }{\pageref{sll_8h}}{} -\item\contentsline{section}{src/trees/avl/\hyperlink{avl_8c}{avl.c} }{\pageref{avl_8c}}{} -\item\contentsline{section}{src/trees/avl/\hyperlink{avl_8h}{avl.h} }{\pageref{avl_8h}}{} -\item\contentsline{section}{src/trees/binary/\hyperlink{bt_8c}{bt.c} }{\pageref{bt_8c}}{} -\item\contentsline{section}{src/trees/binary/\hyperlink{bt_8h}{bt.h} }{\pageref{bt_8h}}{} -\item\contentsline{section}{src/trees/redblack/\hyperlink{rbt_8c}{rbt.c} }{\pageref{rbt_8c}}{} -\item\contentsline{section}{src/trees/redblack/\hyperlink{rbt_8h}{rbt.h} }{\pageref{rbt_8h}}{} -\end{DoxyCompactList} diff --git a/docs/doxygen/latex/ht_8c.tex b/docs/doxygen/latex/ht_8c.tex deleted file mode 100644 index 88dfc09..0000000 --- a/docs/doxygen/latex/ht_8c.tex +++ /dev/null @@ -1,237 +0,0 @@ -\hypertarget{ht_8c}{ -\section{src/ht/ht.c File Reference} -\label{ht_8c}\index{src/ht/ht.c@{src/ht/ht.c}} -} -{\ttfamily \#include \char`\"{}ht.h\char`\"{}}\par -{\ttfamily \#include $<$stdlib.h$>$}\par -{\ttfamily \#include $<$string.h$>$}\par -{\ttfamily \#include $<$stdio.h$>$}\par -Include dependency graph for ht.c:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=308pt]{ht_8c__incl} -\end{center} -\end{figure} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -unsigned int \hyperlink{ht_8c_a278174a0154a10b8b10b23937ca4c721}{ht\_\-hash\_\-string} (void $\ast$key) -\begin{DoxyCompactList}\small\item\em Takes a string key value and returns it's hashed value. \item\end{DoxyCompactList}\item -\hyperlink{structht__table}{ht\_\-table} $\ast$ \hyperlink{ht_8c_a0a3e03a29413673acd8899d250cd0844}{ht\_\-new} (unsigned int size, \hyperlink{ht_8h_a91a8d03489ef281e6f26d389c44d42cf}{ht\_\-hash\_\-func} fn) -\begin{DoxyCompactList}\small\item\em Creates a new hash table. \item\end{DoxyCompactList}\item -void \hyperlink{ht_8c_a96de71bf3880ed0a879f60b6e5254803}{ht\_\-free} (\hyperlink{structht__table}{ht\_\-table} $\ast$table, int free\_\-key, int free\_\-value) -\begin{DoxyCompactList}\small\item\em Frees all memory used by the provided hash table. \item\end{DoxyCompactList}\item -void \hyperlink{ht_8c_a8c17c7288d2f510dd5c091cccc6dd056}{ht\_\-put} (\hyperlink{structht__table}{ht\_\-table} $\ast$table, void $\ast$key, void $\ast$val) -\item -void $\ast$ \hyperlink{ht_8c_a5bc0ba0d31b944797e17a96372bce33e}{ht\_\-get} (\hyperlink{structht__table}{ht\_\-table} $\ast$table, void $\ast$key) -\item -void \hyperlink{ht_8c_a81a813f472a9b689032704fca76b3ce8}{ht\_\-delete} (\hyperlink{structht__table}{ht\_\-table} $\ast$table, void $\ast$key, int free\_\-key, int free\_\-value) -\begin{DoxyCompactList}\small\item\em Deletes a key/value pair from the provided hash table. \item\end{DoxyCompactList}\item -\hyperlink{structht__table}{ht\_\-table} $\ast$ \hyperlink{ht_8c_ad9cac6da8b459d5960079b0d95489960}{ht\_\-resize} (\hyperlink{structht__table}{ht\_\-table} $\ast$table, unsigned int size) -\begin{DoxyCompactList}\small\item\em Resizes the underlying table used for storing key/value pairs. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{ht_8c_a81a813f472a9b689032704fca76b3ce8}{ -\index{ht.c@{ht.c}!ht\_\-delete@{ht\_\-delete}} -\index{ht\_\-delete@{ht\_\-delete}!ht.c@{ht.c}} -\subsubsection[{ht\_\-delete}]{\setlength{\rightskip}{0pt plus 5cm}void ht\_\-delete ( -\begin{DoxyParamCaption} -\item[{{\bf ht\_\-table} $\ast$}]{table, } -\item[{void $\ast$}]{key, } -\item[{int}]{free\_\-key, } -\item[{int}]{free\_\-value} -\end{DoxyParamCaption} -)}} -\label{ht_8c_a81a813f472a9b689032704fca76b3ce8} - - -Deletes a key/value pair from the provided hash table. - -This function looks up an entry in the table by hashing the key with the table's hash function. If an entry is found then the memory allocated for the entry is freed. If free\_\-key or free\_\-value are non-\/zero values then the key or value pointers are freed respectively. - - -\begin{DoxyParams}{Parameters} -{\em table} & The table from which the key/value pait will be deleted. \\ -\hline -{\em key} & The key for the key/value pair to be deleted. \\ -\hline -{\em free\_\-key} & Determines whether the key pointer will be freed. \\ -\hline -{\em free\_\-value} & Determines whether the value pointer will be freed. \\ -\hline -\end{DoxyParams} - - -Definition at line 125 of file ht.c. - -\hypertarget{ht_8c_a96de71bf3880ed0a879f60b6e5254803}{ -\index{ht.c@{ht.c}!ht\_\-free@{ht\_\-free}} -\index{ht\_\-free@{ht\_\-free}!ht.c@{ht.c}} -\subsubsection[{ht\_\-free}]{\setlength{\rightskip}{0pt plus 5cm}void ht\_\-free ( -\begin{DoxyParamCaption} -\item[{{\bf ht\_\-table} $\ast$}]{table, } -\item[{int}]{free\_\-key, } -\item[{int}]{free\_\-value} -\end{DoxyParamCaption} -)}} -\label{ht_8c_a96de71bf3880ed0a879f60b6e5254803} - - -Frees all memory used by the provided hash table. - -This function frees all memory allocated for the given table. If free\_\-key or free\_\-value are non-\/zero values then the key or value pointers are freed respectively. - - -\begin{DoxyParams}{Parameters} -{\em table} & The table to be freed. \\ -\hline -{\em free\_\-key} & Determines whether the key pointers will be freed. \\ -\hline -{\em free\_\-value} & Determines whether the value pointers will be freed. \\ -\hline -\end{DoxyParams} - - -Definition at line 55 of file ht.c. - -\hypertarget{ht_8c_a5bc0ba0d31b944797e17a96372bce33e}{ -\index{ht.c@{ht.c}!ht\_\-get@{ht\_\-get}} -\index{ht\_\-get@{ht\_\-get}!ht.c@{ht.c}} -\subsubsection[{ht\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ ht\_\-get ( -\begin{DoxyParamCaption} -\item[{{\bf ht\_\-table} $\ast$}]{table, } -\item[{void $\ast$}]{key} -\end{DoxyParamCaption} -)}} -\label{ht_8c_a5bc0ba0d31b944797e17a96372bce33e} - - -Definition at line 108 of file ht.c. - -\hypertarget{ht_8c_a278174a0154a10b8b10b23937ca4c721}{ -\index{ht.c@{ht.c}!ht\_\-hash\_\-string@{ht\_\-hash\_\-string}} -\index{ht\_\-hash\_\-string@{ht\_\-hash\_\-string}!ht.c@{ht.c}} -\subsubsection[{ht\_\-hash\_\-string}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int ht\_\-hash\_\-string ( -\begin{DoxyParamCaption} -\item[{void $\ast$}]{key} -\end{DoxyParamCaption} -)}} -\label{ht_8c_a278174a0154a10b8b10b23937ca4c721} - - -Takes a string key value and returns it's hashed value. - -This function takes a pointer to a string and returns a hash value based on the contents of the string. - - -\begin{DoxyParams}{Parameters} -{\em key} & Pointer to the string to hash.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -The hashed value of the key. -\end{DoxyReturn} - - -Definition at line 32 of file ht.c. - - - -Here is the caller graph for this function: -\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=244pt]{ht_8c_a278174a0154a10b8b10b23937ca4c721_icgraph} -\end{center} -\end{figure} - - -\hypertarget{ht_8c_a0a3e03a29413673acd8899d250cd0844}{ -\index{ht.c@{ht.c}!ht\_\-new@{ht\_\-new}} -\index{ht\_\-new@{ht\_\-new}!ht.c@{ht.c}} -\subsubsection[{ht\_\-new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf ht\_\-table}$\ast$ ht\_\-new ( -\begin{DoxyParamCaption} -\item[{unsigned int}]{size, } -\item[{{\bf ht\_\-hash\_\-func}}]{fn} -\end{DoxyParamCaption} -)}} -\label{ht_8c_a0a3e03a29413673acd8899d250cd0844} - - -Creates a new hash table. - -This fucntion creates a new empty hash table with an internal lookup table of the given size and the desired hash function. The hash function will be used for insertion, deletion, and lookup of elements within the table. If the hash function pointer is null then ht\_\-hash\_\-string is used. - - -\begin{DoxyParams}{Parameters} -{\em size} & The size of the table to use for storing data. \\ -\hline -{\em fn} & The function to use for hasing keys.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -The newly created table. -\end{DoxyReturn} - - -Definition at line 44 of file ht.c. - - - -Here is the call graph for this function:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=244pt]{ht_8c_a0a3e03a29413673acd8899d250cd0844_cgraph} -\end{center} -\end{figure} - - -\hypertarget{ht_8c_a8c17c7288d2f510dd5c091cccc6dd056}{ -\index{ht.c@{ht.c}!ht\_\-put@{ht\_\-put}} -\index{ht\_\-put@{ht\_\-put}!ht.c@{ht.c}} -\subsubsection[{ht\_\-put}]{\setlength{\rightskip}{0pt plus 5cm}void ht\_\-put ( -\begin{DoxyParamCaption} -\item[{{\bf ht\_\-table} $\ast$}]{table, } -\item[{void $\ast$}]{key, } -\item[{void $\ast$}]{val} -\end{DoxyParamCaption} -)}} -\label{ht_8c_a8c17c7288d2f510dd5c091cccc6dd056} - - -Definition at line 73 of file ht.c. - -\hypertarget{ht_8c_ad9cac6da8b459d5960079b0d95489960}{ -\index{ht.c@{ht.c}!ht\_\-resize@{ht\_\-resize}} -\index{ht\_\-resize@{ht\_\-resize}!ht.c@{ht.c}} -\subsubsection[{ht\_\-resize}]{\setlength{\rightskip}{0pt plus 5cm}{\bf ht\_\-table}$\ast$ ht\_\-resize ( -\begin{DoxyParamCaption} -\item[{{\bf ht\_\-table} $\ast$}]{table, } -\item[{unsigned int}]{size} -\end{DoxyParamCaption} -)}} -\label{ht_8c_ad9cac6da8b459d5960079b0d95489960} - - -Resizes the underlying table used for storing key/value pairs. - -This function allocates a new internal lookup table of the given size to replace the internal table for the provided hash table. After the new talbe is created, all entries from the old table are rehahsed and inserted into the new lookup table. The new lookup table then replaces the old lookup table and the old lookup table is freed. - - -\begin{DoxyParams}{Parameters} -{\em table} & The table to be resized. \\ -\hline -{\em size} & The new size for the table.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -A pointer to the resized table. -\end{DoxyReturn} - - -Definition at line 130 of file ht.c. - diff --git a/docs/doxygen/latex/ht_8c__incl.md5 b/docs/doxygen/latex/ht_8c__incl.md5 deleted file mode 100644 index e98c00d..0000000 --- a/docs/doxygen/latex/ht_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -df57e19ca91ebebf8804e5663576fef6 \ No newline at end of file diff --git a/docs/doxygen/latex/ht_8c__incl.pdf b/docs/doxygen/latex/ht_8c__incl.pdf deleted file mode 100644 index 95ed7b3..0000000 Binary files a/docs/doxygen/latex/ht_8c__incl.pdf and /dev/null differ diff --git a/docs/doxygen/latex/ht_8c_a0a3e03a29413673acd8899d250cd0844_cgraph.md5 b/docs/doxygen/latex/ht_8c_a0a3e03a29413673acd8899d250cd0844_cgraph.md5 deleted file mode 100644 index afaf823..0000000 --- a/docs/doxygen/latex/ht_8c_a0a3e03a29413673acd8899d250cd0844_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -81ee6ea6c7e31edd247236a6751438e6 \ No newline at end of file diff --git a/docs/doxygen/latex/ht_8c_a0a3e03a29413673acd8899d250cd0844_cgraph.pdf b/docs/doxygen/latex/ht_8c_a0a3e03a29413673acd8899d250cd0844_cgraph.pdf deleted file mode 100644 index a577bf1..0000000 Binary files a/docs/doxygen/latex/ht_8c_a0a3e03a29413673acd8899d250cd0844_cgraph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/ht_8c_a278174a0154a10b8b10b23937ca4c721_icgraph.md5 b/docs/doxygen/latex/ht_8c_a278174a0154a10b8b10b23937ca4c721_icgraph.md5 deleted file mode 100644 index 1e7f7fe..0000000 --- a/docs/doxygen/latex/ht_8c_a278174a0154a10b8b10b23937ca4c721_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -5effe68ea7e27dd3011415a7f9133dc6 \ No newline at end of file diff --git a/docs/doxygen/latex/ht_8c_a278174a0154a10b8b10b23937ca4c721_icgraph.pdf b/docs/doxygen/latex/ht_8c_a278174a0154a10b8b10b23937ca4c721_icgraph.pdf deleted file mode 100644 index ebb375b..0000000 Binary files a/docs/doxygen/latex/ht_8c_a278174a0154a10b8b10b23937ca4c721_icgraph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/ht_8h.tex b/docs/doxygen/latex/ht_8h.tex deleted file mode 100644 index d4f4c87..0000000 --- a/docs/doxygen/latex/ht_8h.tex +++ /dev/null @@ -1,297 +0,0 @@ -\hypertarget{ht_8h}{ -\section{src/ht/ht.h File Reference} -\label{ht_8h}\index{src/ht/ht.h@{src/ht/ht.h}} -} -This graph shows which files directly or indirectly include this file:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=140pt]{ht_8h__dep__incl} -\end{center} -\end{figure} -\subsection*{Classes} -\begin{DoxyCompactItemize} -\item -struct \hyperlink{structht__node}{ht\_\-node} -\begin{DoxyCompactList}\small\item\em A node in a hash table. \item\end{DoxyCompactList}\item -struct \hyperlink{structht__table}{ht\_\-table} -\begin{DoxyCompactList}\small\item\em A hash table. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Typedefs} -\begin{DoxyCompactItemize} -\item -typedef unsigned int($\ast$ \hyperlink{ht_8h_a91a8d03489ef281e6f26d389c44d42cf}{ht\_\-hash\_\-func} )(void $\ast$) -\begin{DoxyCompactList}\small\item\em Hash function for hashing keys in a hash table. \item\end{DoxyCompactList}\item -typedef struct \hyperlink{structht__node}{ht\_\-node} \hyperlink{ht_8h_a3b70269a378f408bce2ae501e7ed1205}{ht\_\-node} -\begin{DoxyCompactList}\small\item\em A node in a hash table. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -unsigned int \hyperlink{ht_8h_a278174a0154a10b8b10b23937ca4c721}{ht\_\-hash\_\-string} (void $\ast$key) -\begin{DoxyCompactList}\small\item\em Takes a string key value and returns it's hashed value. \item\end{DoxyCompactList}\item -\hyperlink{structht__table}{ht\_\-table} $\ast$ \hyperlink{ht_8h_a0a3e03a29413673acd8899d250cd0844}{ht\_\-new} (unsigned int size, \hyperlink{ht_8h_a91a8d03489ef281e6f26d389c44d42cf}{ht\_\-hash\_\-func} fn) -\begin{DoxyCompactList}\small\item\em Creates a new hash table. \item\end{DoxyCompactList}\item -void \hyperlink{ht_8h_a96de71bf3880ed0a879f60b6e5254803}{ht\_\-free} (\hyperlink{structht__table}{ht\_\-table} $\ast$table, int free\_\-key, int free\_\-value) -\begin{DoxyCompactList}\small\item\em Frees all memory used by the provided hash table. \item\end{DoxyCompactList}\item -void \hyperlink{ht_8h_acb11ccfcef6f11d5e9ec31f14b875140}{ht\_\-insert} (\hyperlink{structht__table}{ht\_\-table} $\ast$table, void $\ast$key, void $\ast$val) -\begin{DoxyCompactList}\small\item\em Inserts a key/value pair into the provided table. \item\end{DoxyCompactList}\item -void $\ast$ \hyperlink{ht_8h_a50855610a2e434aeec5180aa596d44a1}{ht\_\-find} (\hyperlink{structht__table}{ht\_\-table} $\ast$table, void $\ast$key) -\begin{DoxyCompactList}\small\item\em Retrieves a value from the provided table. \item\end{DoxyCompactList}\item -void \hyperlink{ht_8h_a81a813f472a9b689032704fca76b3ce8}{ht\_\-delete} (\hyperlink{structht__table}{ht\_\-table} $\ast$table, void $\ast$key, int free\_\-key, int free\_\-value) -\begin{DoxyCompactList}\small\item\em Deletes a key/value pair from the provided hash table. \item\end{DoxyCompactList}\item -\hyperlink{structht__table}{ht\_\-table} $\ast$ \hyperlink{ht_8h_ad9cac6da8b459d5960079b0d95489960}{ht\_\-resize} (\hyperlink{structht__table}{ht\_\-table} $\ast$table, unsigned int size) -\begin{DoxyCompactList}\small\item\em Resizes the underlying table used for storing key/value pairs. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Typedef Documentation} -\hypertarget{ht_8h_a91a8d03489ef281e6f26d389c44d42cf}{ -\index{ht.h@{ht.h}!ht\_\-hash\_\-func@{ht\_\-hash\_\-func}} -\index{ht\_\-hash\_\-func@{ht\_\-hash\_\-func}!ht.h@{ht.h}} -\subsubsection[{ht\_\-hash\_\-func}]{\setlength{\rightskip}{0pt plus 5cm}typedef unsigned int($\ast$ {\bf ht\_\-hash\_\-func})(void $\ast$)}} -\label{ht_8h_a91a8d03489ef281e6f26d389c44d42cf} - - -Hash function for hashing keys in a hash table. - - - -Definition at line 31 of file ht.h. - -\hypertarget{ht_8h_a3b70269a378f408bce2ae501e7ed1205}{ -\index{ht.h@{ht.h}!ht\_\-node@{ht\_\-node}} -\index{ht\_\-node@{ht\_\-node}!ht.h@{ht.h}} -\subsubsection[{ht\_\-node}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf ht\_\-node} {\bf ht\_\-node}}} -\label{ht_8h_a3b70269a378f408bce2ae501e7ed1205} - - -A node in a hash table. - - - -\subsection{Function Documentation} -\hypertarget{ht_8h_a81a813f472a9b689032704fca76b3ce8}{ -\index{ht.h@{ht.h}!ht\_\-delete@{ht\_\-delete}} -\index{ht\_\-delete@{ht\_\-delete}!ht.h@{ht.h}} -\subsubsection[{ht\_\-delete}]{\setlength{\rightskip}{0pt plus 5cm}void ht\_\-delete ( -\begin{DoxyParamCaption} -\item[{{\bf ht\_\-table} $\ast$}]{table, } -\item[{void $\ast$}]{key, } -\item[{int}]{free\_\-key, } -\item[{int}]{free\_\-value} -\end{DoxyParamCaption} -)}} -\label{ht_8h_a81a813f472a9b689032704fca76b3ce8} - - -Deletes a key/value pair from the provided hash table. - -This function looks up an entry in the table by hashing the key with the table's hash function. If an entry is found then the memory allocated for the entry is freed. If free\_\-key or free\_\-value are non-\/zero values then the key or value pointers are freed respectively. - - -\begin{DoxyParams}{Parameters} -{\em table} & The table from which the key/value pait will be deleted. \\ -\hline -{\em key} & The key for the key/value pair to be deleted. \\ -\hline -{\em free\_\-key} & Determines whether the key pointer will be freed. \\ -\hline -{\em free\_\-value} & Determines whether the value pointer will be freed. \\ -\hline -\end{DoxyParams} - - -Definition at line 125 of file ht.c. - -\hypertarget{ht_8h_a50855610a2e434aeec5180aa596d44a1}{ -\index{ht.h@{ht.h}!ht\_\-find@{ht\_\-find}} -\index{ht\_\-find@{ht\_\-find}!ht.h@{ht.h}} -\subsubsection[{ht\_\-find}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ ht\_\-find ( -\begin{DoxyParamCaption} -\item[{{\bf ht\_\-table} $\ast$}]{table, } -\item[{void $\ast$}]{key} -\end{DoxyParamCaption} -)}} -\label{ht_8h_a50855610a2e434aeec5180aa596d44a1} - - -Retrieves a value from the provided table. - -This function looks up an entry in the table by hashing the key with the table's hash function. It then returns the pointer to the value of the found entry or a null pointer if no entry was found. - - -\begin{DoxyParams}{Parameters} -{\em table} & The table in which to find the associated value. \\ -\hline -{\em key} & The key to lookup.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -A pointer to the value associated with the provided key. -\end{DoxyReturn} -\hypertarget{ht_8h_a96de71bf3880ed0a879f60b6e5254803}{ -\index{ht.h@{ht.h}!ht\_\-free@{ht\_\-free}} -\index{ht\_\-free@{ht\_\-free}!ht.h@{ht.h}} -\subsubsection[{ht\_\-free}]{\setlength{\rightskip}{0pt plus 5cm}void ht\_\-free ( -\begin{DoxyParamCaption} -\item[{{\bf ht\_\-table} $\ast$}]{table, } -\item[{int}]{free\_\-key, } -\item[{int}]{free\_\-value} -\end{DoxyParamCaption} -)}} -\label{ht_8h_a96de71bf3880ed0a879f60b6e5254803} - - -Frees all memory used by the provided hash table. - -This function frees all memory allocated for the given table. If free\_\-key or free\_\-value are non-\/zero values then the key or value pointers are freed respectively. - - -\begin{DoxyParams}{Parameters} -{\em table} & The table to be freed. \\ -\hline -{\em free\_\-key} & Determines whether the key pointers will be freed. \\ -\hline -{\em free\_\-value} & Determines whether the value pointers will be freed. \\ -\hline -\end{DoxyParams} - - -Definition at line 55 of file ht.c. - -\hypertarget{ht_8h_a278174a0154a10b8b10b23937ca4c721}{ -\index{ht.h@{ht.h}!ht\_\-hash\_\-string@{ht\_\-hash\_\-string}} -\index{ht\_\-hash\_\-string@{ht\_\-hash\_\-string}!ht.h@{ht.h}} -\subsubsection[{ht\_\-hash\_\-string}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int ht\_\-hash\_\-string ( -\begin{DoxyParamCaption} -\item[{void $\ast$}]{key} -\end{DoxyParamCaption} -)}} -\label{ht_8h_a278174a0154a10b8b10b23937ca4c721} - - -Takes a string key value and returns it's hashed value. - -This function takes a pointer to a string and returns a hash value based on the contents of the string. - - -\begin{DoxyParams}{Parameters} -{\em key} & Pointer to the string to hash.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -The hashed value of the key. -\end{DoxyReturn} - - -Definition at line 32 of file ht.c. - - - -Here is the caller graph for this function: -\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=244pt]{ht_8h_a278174a0154a10b8b10b23937ca4c721_icgraph} -\end{center} -\end{figure} - - -\hypertarget{ht_8h_acb11ccfcef6f11d5e9ec31f14b875140}{ -\index{ht.h@{ht.h}!ht\_\-insert@{ht\_\-insert}} -\index{ht\_\-insert@{ht\_\-insert}!ht.h@{ht.h}} -\subsubsection[{ht\_\-insert}]{\setlength{\rightskip}{0pt plus 5cm}void ht\_\-insert ( -\begin{DoxyParamCaption} -\item[{{\bf ht\_\-table} $\ast$}]{table, } -\item[{void $\ast$}]{key, } -\item[{void $\ast$}]{val} -\end{DoxyParamCaption} -)}} -\label{ht_8h_acb11ccfcef6f11d5e9ec31f14b875140} - - -Inserts a key/value pair into the provided table. - -This function inserts a new entry into the provided table containing the provided key and value pointers. The entry is placed in the table by hashing the key with the provided table's hash function. If an entry with an identical key exists, then the value pointer for that entry is changed to the provided value pointer. If free\_\-value is a non-\/zero value then the old value pointer is also freed. - - -\begin{DoxyParams}{Parameters} -{\em table} & The table to be freed. \\ -\hline -{\em key} & The key for the associated value. \\ -\hline -{\em val} & The value to be associated with the key. \\ -\hline -{\em free\_\-value} & Determines whether or not to free the old value pointer. \\ -\hline -\end{DoxyParams} -\hypertarget{ht_8h_a0a3e03a29413673acd8899d250cd0844}{ -\index{ht.h@{ht.h}!ht\_\-new@{ht\_\-new}} -\index{ht\_\-new@{ht\_\-new}!ht.h@{ht.h}} -\subsubsection[{ht\_\-new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf ht\_\-table}$\ast$ ht\_\-new ( -\begin{DoxyParamCaption} -\item[{unsigned int}]{size, } -\item[{{\bf ht\_\-hash\_\-func}}]{fn} -\end{DoxyParamCaption} -)}} -\label{ht_8h_a0a3e03a29413673acd8899d250cd0844} - - -Creates a new hash table. - -This fucntion creates a new empty hash table with an internal lookup table of the given size and the desired hash function. The hash function will be used for insertion, deletion, and lookup of elements within the table. If the hash function pointer is null then ht\_\-hash\_\-string is used. - - -\begin{DoxyParams}{Parameters} -{\em size} & The size of the table to use for storing data. \\ -\hline -{\em fn} & The function to use for hasing keys.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -The newly created table. -\end{DoxyReturn} - - -Definition at line 44 of file ht.c. - - - -Here is the call graph for this function:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=244pt]{ht_8h_a0a3e03a29413673acd8899d250cd0844_cgraph} -\end{center} -\end{figure} - - -\hypertarget{ht_8h_ad9cac6da8b459d5960079b0d95489960}{ -\index{ht.h@{ht.h}!ht\_\-resize@{ht\_\-resize}} -\index{ht\_\-resize@{ht\_\-resize}!ht.h@{ht.h}} -\subsubsection[{ht\_\-resize}]{\setlength{\rightskip}{0pt plus 5cm}{\bf ht\_\-table}$\ast$ ht\_\-resize ( -\begin{DoxyParamCaption} -\item[{{\bf ht\_\-table} $\ast$}]{table, } -\item[{unsigned int}]{size} -\end{DoxyParamCaption} -)}} -\label{ht_8h_ad9cac6da8b459d5960079b0d95489960} - - -Resizes the underlying table used for storing key/value pairs. - -This function allocates a new internal lookup table of the given size to replace the internal table for the provided hash table. After the new talbe is created, all entries from the old table are rehahsed and inserted into the new lookup table. The new lookup table then replaces the old lookup table and the old lookup table is freed. - - -\begin{DoxyParams}{Parameters} -{\em table} & The table to be resized. \\ -\hline -{\em size} & The new size for the table.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -A pointer to the resized table. -\end{DoxyReturn} - - -Definition at line 130 of file ht.c. - diff --git a/docs/doxygen/latex/ht_8h__dep__incl.md5 b/docs/doxygen/latex/ht_8h__dep__incl.md5 deleted file mode 100644 index 3a17909..0000000 --- a/docs/doxygen/latex/ht_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -9ad4de4afa705ffe4f5b921a70a2a437 \ No newline at end of file diff --git a/docs/doxygen/latex/ht_8h__dep__incl.pdf b/docs/doxygen/latex/ht_8h__dep__incl.pdf deleted file mode 100644 index 7bcf42f..0000000 Binary files a/docs/doxygen/latex/ht_8h__dep__incl.pdf and /dev/null differ diff --git a/docs/doxygen/latex/ht_8h_a0a3e03a29413673acd8899d250cd0844_cgraph.md5 b/docs/doxygen/latex/ht_8h_a0a3e03a29413673acd8899d250cd0844_cgraph.md5 deleted file mode 100644 index afaf823..0000000 --- a/docs/doxygen/latex/ht_8h_a0a3e03a29413673acd8899d250cd0844_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -81ee6ea6c7e31edd247236a6751438e6 \ No newline at end of file diff --git a/docs/doxygen/latex/ht_8h_a0a3e03a29413673acd8899d250cd0844_cgraph.pdf b/docs/doxygen/latex/ht_8h_a0a3e03a29413673acd8899d250cd0844_cgraph.pdf deleted file mode 100644 index a577bf1..0000000 Binary files a/docs/doxygen/latex/ht_8h_a0a3e03a29413673acd8899d250cd0844_cgraph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/ht_8h_a278174a0154a10b8b10b23937ca4c721_icgraph.md5 b/docs/doxygen/latex/ht_8h_a278174a0154a10b8b10b23937ca4c721_icgraph.md5 deleted file mode 100644 index 1e7f7fe..0000000 --- a/docs/doxygen/latex/ht_8h_a278174a0154a10b8b10b23937ca4c721_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -5effe68ea7e27dd3011415a7f9133dc6 \ No newline at end of file diff --git a/docs/doxygen/latex/ht_8h_a278174a0154a10b8b10b23937ca4c721_icgraph.pdf b/docs/doxygen/latex/ht_8h_a278174a0154a10b8b10b23937ca4c721_icgraph.pdf deleted file mode 100644 index ebb375b..0000000 Binary files a/docs/doxygen/latex/ht_8h_a278174a0154a10b8b10b23937ca4c721_icgraph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/rbt_8c.tex b/docs/doxygen/latex/rbt_8c.tex deleted file mode 100644 index c97cf06..0000000 --- a/docs/doxygen/latex/rbt_8c.tex +++ /dev/null @@ -1,4 +0,0 @@ -\hypertarget{rbt_8c}{ -\section{src/trees/redblack/rbt.c File Reference} -\label{rbt_8c}\index{src/trees/redblack/rbt.c@{src/trees/redblack/rbt.c}} -} diff --git a/docs/doxygen/latex/rbt_8h.tex b/docs/doxygen/latex/rbt_8h.tex deleted file mode 100644 index 6f81291..0000000 --- a/docs/doxygen/latex/rbt_8h.tex +++ /dev/null @@ -1,4 +0,0 @@ -\hypertarget{rbt_8h}{ -\section{src/trees/redblack/rbt.h File Reference} -\label{rbt_8h}\index{src/trees/redblack/rbt.h@{src/trees/redblack/rbt.h}} -} diff --git a/docs/doxygen/latex/refman.tex b/docs/doxygen/latex/refman.tex deleted file mode 100644 index 16244b7..0000000 --- a/docs/doxygen/latex/refman.tex +++ /dev/null @@ -1,80 +0,0 @@ -\documentclass[a4paper]{book} -\usepackage{makeidx} -\usepackage{graphicx} -\usepackage{multicol} -\usepackage{float} -\usepackage{listings} -\usepackage{color} -\usepackage{ifthen} -\usepackage[table]{xcolor} -\usepackage{textcomp} -\usepackage{alltt} -\usepackage{ifpdf} -\ifpdf -\usepackage[pdftex, - pagebackref=true, - colorlinks=true, - linkcolor=blue, - unicode - ]{hyperref} -\else -\usepackage[ps2pdf, - pagebackref=true, - colorlinks=true, - linkcolor=blue, - unicode - ]{hyperref} -\usepackage{pspicture} -\fi -\usepackage[utf8]{inputenc} -\usepackage{mathptmx} -\usepackage[scaled=.90]{helvet} -\usepackage{courier} -\usepackage{doxygen} -\lstset{language=C++,inputencoding=utf8,basicstyle=\footnotesize,breaklines=true,breakatwhitespace=true,tabsize=8,numbers=left } -\makeindex -\setcounter{tocdepth}{3} -\renewcommand{\footrulewidth}{0.4pt} -\begin{document} -\hypersetup{pageanchor=false} -\begin{titlepage} -\vspace*{7cm} -\begin{center} -{\Large Data Structures \\[1ex]\large v0.1 }\\ -\vspace*{1cm} -{\large Generated by Doxygen 1.7.3}\\ -\vspace*{0.5cm} -{\small Fri Mar 23 2012 12:45:04}\\ -\end{center} -\end{titlepage} -\clearemptydoublepage -\pagenumbering{roman} -\tableofcontents -\clearemptydoublepage -\pagenumbering{arabic} -\hypersetup{pageanchor=true} -\chapter{Class Index} -\input{annotated} -\chapter{File Index} -\input{files} -\chapter{Class Documentation} -\input{structbt__node} -\input{structbt__tree} -\input{structht__node} -\input{structht__table} -\input{structsll__node} -\chapter{File Documentation} -\input{ht_8c} -\input{ht_8h} -\input{dll_8c} -\input{dll_8h} -\input{sll_8c} -\input{sll_8h} -\input{avl_8c} -\input{avl_8h} -\input{bt_8c} -\input{bt_8h} -\input{rbt_8c} -\input{rbt_8h} -\printindex -\end{document} diff --git a/docs/doxygen/latex/sll_8c.tex b/docs/doxygen/latex/sll_8c.tex deleted file mode 100644 index f54fdf8..0000000 --- a/docs/doxygen/latex/sll_8c.tex +++ /dev/null @@ -1,426 +0,0 @@ -\hypertarget{sll_8c}{ -\section{src/lists/single\_\-link/sll.c File Reference} -\label{sll_8c}\index{src/lists/single\_\-link/sll.c@{src/lists/single\_\-link/sll.c}} -} -{\ttfamily \#include \char`\"{}sll.h\char`\"{}}\par -{\ttfamily \#include $<$stdlib.h$>$}\par -Include dependency graph for sll.c:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=200pt]{sll_8c__incl} -\end{center} -\end{figure} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -\hyperlink{structsll__node}{sll\_\-node} $\ast$ \hyperlink{sll_8c_a471151d11dc385e3364c9a38b19ecba7}{sll\_\-new} (void $\ast$contents) -\begin{DoxyCompactList}\small\item\em Creates a new linked list node with the supplied value. \item\end{DoxyCompactList}\item -\hyperlink{structsll__node}{sll\_\-node} $\ast$ \hyperlink{sll_8c_abe6fe02fbfcbf1d647ff94295b855e7e}{sll\_\-front} (\hyperlink{structsll__node}{sll\_\-node} $\ast$list) -\begin{DoxyCompactList}\small\item\em Finds and returns the first node in the supplied linked list. \item\end{DoxyCompactList}\item -\hyperlink{structsll__node}{sll\_\-node} $\ast$ \hyperlink{sll_8c_a78ef5151212d47bb63f2fd93453283ed}{sll\_\-back} (\hyperlink{structsll__node}{sll\_\-node} $\ast$list) -\begin{DoxyCompactList}\small\item\em Finds and returns the last node in the supplied linked list. \item\end{DoxyCompactList}\item -\hyperlink{structsll__node}{sll\_\-node} $\ast$ \hyperlink{sll_8c_a0582f263482ead73d53b018978513540}{sll\_\-index} (\hyperlink{structsll__node}{sll\_\-node} $\ast$list, int index) -\begin{DoxyCompactList}\small\item\em Return the node at the specified index in a linked list. \item\end{DoxyCompactList}\item -\hyperlink{structsll__node}{sll\_\-node} $\ast$ \hyperlink{sll_8c_a19ad0a86a87451a3ab68ad6d18c3e3e0}{sll\_\-push\_\-back} (\hyperlink{structsll__node}{sll\_\-node} $\ast$list, void $\ast$contents) -\begin{DoxyCompactList}\small\item\em Adds a new node to the end of an existing linked list. \item\end{DoxyCompactList}\item -\hyperlink{structsll__node}{sll\_\-node} $\ast$ \hyperlink{sll_8c_acfe3ebc296fe75f1d0ee21195dd7b9bf}{sll\_\-push\_\-front} (\hyperlink{structsll__node}{sll\_\-node} $\ast$list, void $\ast$contents) -\begin{DoxyCompactList}\small\item\em Adds a new node to the front of an existing linked list. \item\end{DoxyCompactList}\item -\hyperlink{structsll__node}{sll\_\-node} $\ast$ \hyperlink{sll_8c_af72e93329186ac936d2bf6f544aa1f6b}{sll\_\-pop\_\-back} (\hyperlink{structsll__node}{sll\_\-node} $\ast$list) -\item -\hyperlink{structsll__node}{sll\_\-node} $\ast$ \hyperlink{sll_8c_a1588e5a1f90852ee48403d5313d64269}{sll\_\-pop\_\-front} (\hyperlink{structsll__node}{sll\_\-node} $\ast$list) -\item -\hyperlink{structsll__node}{sll\_\-node} $\ast$ \hyperlink{sll_8c_a66769edc21579f71972ac90de6da4a9f}{sll\_\-insert} (\hyperlink{structsll__node}{sll\_\-node} $\ast$list, int index, void $\ast$contents) -\begin{DoxyCompactList}\small\item\em Inserts a new node in a linked list at the specified index. \item\end{DoxyCompactList}\item -\hyperlink{structsll__node}{sll\_\-node} $\ast$ \hyperlink{sll_8c_afd494f171c24981f0d7a007841f21cfe}{sll\_\-delete} (\hyperlink{structsll__node}{sll\_\-node} $\ast$list, int index, int free\_\-contents) -\begin{DoxyCompactList}\small\item\em Deletes a node from the supplied list. \item\end{DoxyCompactList}\item -void \hyperlink{sll_8c_a7373cc6bac0876b330da73722e24910b}{sll\_\-free} (\hyperlink{structsll__node}{sll\_\-node} $\ast$list, int free\_\-contents) -\begin{DoxyCompactList}\small\item\em Frees all memory used by a linked list. \item\end{DoxyCompactList}\item -unsigned int \hyperlink{sll_8c_af5f6589df6d0ef48ed6f57ac5527ddfe}{sll\_\-length} (\hyperlink{structsll__node}{sll\_\-node} $\ast$list) -\begin{DoxyCompactList}\small\item\em Returns the number of elements in the list. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Function Documentation} -\hypertarget{sll_8c_a78ef5151212d47bb63f2fd93453283ed}{ -\index{sll.c@{sll.c}!sll\_\-back@{sll\_\-back}} -\index{sll\_\-back@{sll\_\-back}!sll.c@{sll.c}} -\subsubsection[{sll\_\-back}]{\setlength{\rightskip}{0pt plus 5cm}{\bf sll\_\-node}$\ast$ sll\_\-back ( -\begin{DoxyParamCaption} -\item[{{\bf sll\_\-node} $\ast$}]{list} -\end{DoxyParamCaption} -)}} -\label{sll_8c_a78ef5151212d47bb63f2fd93453283ed} - - -Finds and returns the last node in the supplied linked list. - -This function returns a pointer to the last node in the given linked list. - - -\begin{DoxyParams}{Parameters} -{\em list} & The linked list to search.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -Pointer to the last node in the supplied list. -\end{DoxyReturn} - - -Definition at line 42 of file sll.c. - - - -Here is the caller graph for this function:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=250pt]{sll_8c_a78ef5151212d47bb63f2fd93453283ed_icgraph} -\end{center} -\end{figure} - - -\hypertarget{sll_8c_afd494f171c24981f0d7a007841f21cfe}{ -\index{sll.c@{sll.c}!sll\_\-delete@{sll\_\-delete}} -\index{sll\_\-delete@{sll\_\-delete}!sll.c@{sll.c}} -\subsubsection[{sll\_\-delete}]{\setlength{\rightskip}{0pt plus 5cm}{\bf sll\_\-node}$\ast$ sll\_\-delete ( -\begin{DoxyParamCaption} -\item[{{\bf sll\_\-node} $\ast$}]{list, } -\item[{int}]{index, } -\item[{int}]{free\_\-contents} -\end{DoxyParamCaption} -)}} -\label{sll_8c_afd494f171c24981f0d7a007841f21cfe} - - -Deletes a node from the supplied list. - -This function traverses the list to the desired index and frees the memory allocated for that node. If the deleted node has a child then the child is reattached to the deleted node's parent. If free\_\-contents is passed a non-\/zero value then the node's contents pointer is also freed. - - -\begin{DoxyParams}{Parameters} -{\em list} & The list to operate on. \\ -\hline -{\em index} & The index of the node to delete. \\ -\hline -{\em free\_\-contents} & Whether or not to also free the contents of the node.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -Pointer to the node that is now at the supplied index. -\end{DoxyReturn} - - -Definition at line 102 of file sll.c. - - - -Here is the call graph for this function:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=230pt]{sll_8c_afd494f171c24981f0d7a007841f21cfe_cgraph} -\end{center} -\end{figure} - - -\hypertarget{sll_8c_a7373cc6bac0876b330da73722e24910b}{ -\index{sll.c@{sll.c}!sll\_\-free@{sll\_\-free}} -\index{sll\_\-free@{sll\_\-free}!sll.c@{sll.c}} -\subsubsection[{sll\_\-free}]{\setlength{\rightskip}{0pt plus 5cm}void sll\_\-free ( -\begin{DoxyParamCaption} -\item[{{\bf sll\_\-node} $\ast$}]{list, } -\item[{int}]{free\_\-contents} -\end{DoxyParamCaption} -)}} -\label{sll_8c_a7373cc6bac0876b330da73722e24910b} - - -Frees all memory used by a linked list. - -This function loops through the supplied list and frees all nodes. Also frees contents if free\_\-contents is passed a non-\/zero value. - - -\begin{DoxyParams}{Parameters} -{\em list} & The list to be freed. \\ -\hline -{\em free\_\-contents} & Whether or not to also free the contents of each node. \\ -\hline -\end{DoxyParams} - - -Definition at line 119 of file sll.c. - -\hypertarget{sll_8c_abe6fe02fbfcbf1d647ff94295b855e7e}{ -\index{sll.c@{sll.c}!sll\_\-front@{sll\_\-front}} -\index{sll\_\-front@{sll\_\-front}!sll.c@{sll.c}} -\subsubsection[{sll\_\-front}]{\setlength{\rightskip}{0pt plus 5cm}{\bf sll\_\-node}$\ast$ sll\_\-front ( -\begin{DoxyParamCaption} -\item[{{\bf sll\_\-node} $\ast$}]{list} -\end{DoxyParamCaption} -)}} -\label{sll_8c_abe6fe02fbfcbf1d647ff94295b855e7e} - - -Finds and returns the first node in the supplied linked list. - -This function returns a pointer to the first node in the given linked list. - - -\begin{DoxyParams}{Parameters} -{\em list} & The linked list to search.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -Pointer to the last node in the supplied list. -\end{DoxyReturn} - - -Definition at line 38 of file sll.c. - -\hypertarget{sll_8c_a0582f263482ead73d53b018978513540}{ -\index{sll.c@{sll.c}!sll\_\-index@{sll\_\-index}} -\index{sll\_\-index@{sll\_\-index}!sll.c@{sll.c}} -\subsubsection[{sll\_\-index}]{\setlength{\rightskip}{0pt plus 5cm}{\bf sll\_\-node}$\ast$ sll\_\-index ( -\begin{DoxyParamCaption} -\item[{{\bf sll\_\-node} $\ast$}]{list, } -\item[{int}]{index} -\end{DoxyParamCaption} -)}} -\label{sll_8c_a0582f263482ead73d53b018978513540} - - -Return the node at the specified index in a linked list. - -This function loops through the linked list and returns the node in the list at the specified index. Returns NULL if the index is out of range. - - -\begin{DoxyParams}{Parameters} -{\em list} & The list to search for the supplied index. \\ -\hline -{\em index} & The index of the node to return.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -A pointer to the node and the supplied index, NULL if out of range. -\end{DoxyReturn} - - -Definition at line 52 of file sll.c. - - - -Here is the caller graph for this function:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=230pt]{sll_8c_a0582f263482ead73d53b018978513540_icgraph} -\end{center} -\end{figure} - - -\hypertarget{sll_8c_a66769edc21579f71972ac90de6da4a9f}{ -\index{sll.c@{sll.c}!sll\_\-insert@{sll\_\-insert}} -\index{sll\_\-insert@{sll\_\-insert}!sll.c@{sll.c}} -\subsubsection[{sll\_\-insert}]{\setlength{\rightskip}{0pt plus 5cm}{\bf sll\_\-node}$\ast$ sll\_\-insert ( -\begin{DoxyParamCaption} -\item[{{\bf sll\_\-node} $\ast$}]{list, } -\item[{int}]{index, } -\item[{void $\ast$}]{contents} -\end{DoxyParamCaption} -)}} -\label{sll_8c_a66769edc21579f71972ac90de6da4a9f} - - -Inserts a new node in a linked list at the specified index. - -This function traverses the list to the desired index and inserts a new node with the given contents at that position. The node previously at the desired index becomes the child of the new node. - - -\begin{DoxyParams}{Parameters} -{\em list} & The list to operate on. \\ -\hline -{\em index} & The index where the new node will be inserted. \\ -\hline -{\em contents} & The contents of the new node.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -Pointer to the newly inserted node, NULL if index is out of range. -\end{DoxyReturn} - - -Definition at line 88 of file sll.c. - - - -Here is the call graph for this function:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=228pt]{sll_8c_a66769edc21579f71972ac90de6da4a9f_cgraph} -\end{center} -\end{figure} - - -\hypertarget{sll_8c_af5f6589df6d0ef48ed6f57ac5527ddfe}{ -\index{sll.c@{sll.c}!sll\_\-length@{sll\_\-length}} -\index{sll\_\-length@{sll\_\-length}!sll.c@{sll.c}} -\subsubsection[{sll\_\-length}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int sll\_\-length ( -\begin{DoxyParamCaption} -\item[{{\bf sll\_\-node} $\ast$}]{list} -\end{DoxyParamCaption} -)}} -\label{sll_8c_af5f6589df6d0ef48ed6f57ac5527ddfe} - - -Returns the number of elements in the list. - -This function loops through the supplied list and returns a count of the number of elements contained in the list. - - -\begin{DoxyParams}{Parameters} -{\em list} & The list to be counted.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -The number of elements in the list. -\end{DoxyReturn} - - -Definition at line 134 of file sll.c. - -\hypertarget{sll_8c_a471151d11dc385e3364c9a38b19ecba7}{ -\index{sll.c@{sll.c}!sll\_\-new@{sll\_\-new}} -\index{sll\_\-new@{sll\_\-new}!sll.c@{sll.c}} -\subsubsection[{sll\_\-new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf sll\_\-node}$\ast$ sll\_\-new ( -\begin{DoxyParamCaption} -\item[{void $\ast$}]{contents} -\end{DoxyParamCaption} -)}} -\label{sll_8c_a471151d11dc385e3364c9a38b19ecba7} - - -Creates a new linked list node with the supplied value. - -This function allocates a new node and populates the node contents with the supplied contents pointer. - - -\begin{DoxyParams}{Parameters} -{\em contents} & The contents of the newly created node.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -A pointer to the newly created node. -\end{DoxyReturn} - - -Definition at line 30 of file sll.c. - - - -Here is the caller graph for this function:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=246pt]{sll_8c_a471151d11dc385e3364c9a38b19ecba7_icgraph} -\end{center} -\end{figure} - - -\hypertarget{sll_8c_af72e93329186ac936d2bf6f544aa1f6b}{ -\index{sll.c@{sll.c}!sll\_\-pop\_\-back@{sll\_\-pop\_\-back}} -\index{sll\_\-pop\_\-back@{sll\_\-pop\_\-back}!sll.c@{sll.c}} -\subsubsection[{sll\_\-pop\_\-back}]{\setlength{\rightskip}{0pt plus 5cm}{\bf sll\_\-node}$\ast$ sll\_\-pop\_\-back ( -\begin{DoxyParamCaption} -\item[{{\bf sll\_\-node} $\ast$}]{list} -\end{DoxyParamCaption} -)}} -\label{sll_8c_af72e93329186ac936d2bf6f544aa1f6b} - - -Definition at line 80 of file sll.c. - -\hypertarget{sll_8c_a1588e5a1f90852ee48403d5313d64269}{ -\index{sll.c@{sll.c}!sll\_\-pop\_\-front@{sll\_\-pop\_\-front}} -\index{sll\_\-pop\_\-front@{sll\_\-pop\_\-front}!sll.c@{sll.c}} -\subsubsection[{sll\_\-pop\_\-front}]{\setlength{\rightskip}{0pt plus 5cm}{\bf sll\_\-node}$\ast$ sll\_\-pop\_\-front ( -\begin{DoxyParamCaption} -\item[{{\bf sll\_\-node} $\ast$}]{list} -\end{DoxyParamCaption} -)}} -\label{sll_8c_a1588e5a1f90852ee48403d5313d64269} - - -Definition at line 84 of file sll.c. - -\hypertarget{sll_8c_a19ad0a86a87451a3ab68ad6d18c3e3e0}{ -\index{sll.c@{sll.c}!sll\_\-push\_\-back@{sll\_\-push\_\-back}} -\index{sll\_\-push\_\-back@{sll\_\-push\_\-back}!sll.c@{sll.c}} -\subsubsection[{sll\_\-push\_\-back}]{\setlength{\rightskip}{0pt plus 5cm}{\bf sll\_\-node}$\ast$ sll\_\-push\_\-back ( -\begin{DoxyParamCaption} -\item[{{\bf sll\_\-node} $\ast$}]{list, } -\item[{void $\ast$}]{contents} -\end{DoxyParamCaption} -)}} -\label{sll_8c_a19ad0a86a87451a3ab68ad6d18c3e3e0} - - -Adds a new node to the end of an existing linked list. - -This function creates a new node and pushes it to the end of the given list. The newly created node becomes the new tail of the list. - - -\begin{DoxyParams}{Parameters} -{\em list} & The list to operate on. \\ -\hline -{\em contents} & The contents of the new node.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -Pointer to the newly added node. -\end{DoxyReturn} - - -Definition at line 70 of file sll.c. - - - -Here is the call graph for this function:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=250pt]{sll_8c_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph} -\end{center} -\end{figure} - - -\hypertarget{sll_8c_acfe3ebc296fe75f1d0ee21195dd7b9bf}{ -\index{sll.c@{sll.c}!sll\_\-push\_\-front@{sll\_\-push\_\-front}} -\index{sll\_\-push\_\-front@{sll\_\-push\_\-front}!sll.c@{sll.c}} -\subsubsection[{sll\_\-push\_\-front}]{\setlength{\rightskip}{0pt plus 5cm}{\bf sll\_\-node}$\ast$ sll\_\-push\_\-front ( -\begin{DoxyParamCaption} -\item[{{\bf sll\_\-node} $\ast$}]{list, } -\item[{void $\ast$}]{contents} -\end{DoxyParamCaption} -)}} -\label{sll_8c_acfe3ebc296fe75f1d0ee21195dd7b9bf} - - -Adds a new node to the front of an existing linked list. - -This function creates a new node and pushes it to the beginning of the given list. The newly created node becomes the new head of the list. - - -\begin{DoxyParams}{Parameters} -{\em list} & The list to operate on. \\ -\hline -{\em contents} & The contents of the new node.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -Pointer to the newly added node. -\end{DoxyReturn} - - -Definition at line 76 of file sll.c. - diff --git a/docs/doxygen/latex/sll_8c__incl.md5 b/docs/doxygen/latex/sll_8c__incl.md5 deleted file mode 100644 index f94c898..0000000 --- a/docs/doxygen/latex/sll_8c__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -c213ac0f02fabd6dac521748e09f7516 \ No newline at end of file diff --git a/docs/doxygen/latex/sll_8c__incl.pdf b/docs/doxygen/latex/sll_8c__incl.pdf deleted file mode 100644 index 446df59..0000000 Binary files a/docs/doxygen/latex/sll_8c__incl.pdf and /dev/null differ diff --git a/docs/doxygen/latex/sll_8c_a0582f263482ead73d53b018978513540_icgraph.md5 b/docs/doxygen/latex/sll_8c_a0582f263482ead73d53b018978513540_icgraph.md5 deleted file mode 100644 index 4dcf5ad..0000000 --- a/docs/doxygen/latex/sll_8c_a0582f263482ead73d53b018978513540_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -97869c702dd3b7d1f194fdca6b728d80 \ No newline at end of file diff --git a/docs/doxygen/latex/sll_8c_a0582f263482ead73d53b018978513540_icgraph.pdf b/docs/doxygen/latex/sll_8c_a0582f263482ead73d53b018978513540_icgraph.pdf deleted file mode 100644 index 70c1903..0000000 Binary files a/docs/doxygen/latex/sll_8c_a0582f263482ead73d53b018978513540_icgraph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/sll_8c_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.md5 b/docs/doxygen/latex/sll_8c_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.md5 deleted file mode 100644 index 227319a..0000000 --- a/docs/doxygen/latex/sll_8c_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -4d54969c7b5d51dc6baf61fb8dc9c924 \ No newline at end of file diff --git a/docs/doxygen/latex/sll_8c_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.pdf b/docs/doxygen/latex/sll_8c_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.pdf deleted file mode 100644 index 6388541..0000000 Binary files a/docs/doxygen/latex/sll_8c_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/sll_8c_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.md5 b/docs/doxygen/latex/sll_8c_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.md5 deleted file mode 100644 index b04e3a4..0000000 --- a/docs/doxygen/latex/sll_8c_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -19e92655d2cd2aed2ed1ac777c5a4137 \ No newline at end of file diff --git a/docs/doxygen/latex/sll_8c_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.pdf b/docs/doxygen/latex/sll_8c_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.pdf deleted file mode 100644 index c91bed9..0000000 Binary files a/docs/doxygen/latex/sll_8c_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/sll_8c_a471151d11dc385e3364c9a38b19ecba7_icgraph.md5 b/docs/doxygen/latex/sll_8c_a471151d11dc385e3364c9a38b19ecba7_icgraph.md5 deleted file mode 100644 index 1faac50..0000000 --- a/docs/doxygen/latex/sll_8c_a471151d11dc385e3364c9a38b19ecba7_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -593f610131b43e39c633453ac1cd8021 \ No newline at end of file diff --git a/docs/doxygen/latex/sll_8c_a471151d11dc385e3364c9a38b19ecba7_icgraph.pdf b/docs/doxygen/latex/sll_8c_a471151d11dc385e3364c9a38b19ecba7_icgraph.pdf deleted file mode 100644 index 9c2d6e1..0000000 Binary files a/docs/doxygen/latex/sll_8c_a471151d11dc385e3364c9a38b19ecba7_icgraph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/sll_8c_a66769edc21579f71972ac90de6da4a9f_cgraph.md5 b/docs/doxygen/latex/sll_8c_a66769edc21579f71972ac90de6da4a9f_cgraph.md5 deleted file mode 100644 index c2e76c5..0000000 --- a/docs/doxygen/latex/sll_8c_a66769edc21579f71972ac90de6da4a9f_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -ce51c1faa4690651fe962f50f6718bc2 \ No newline at end of file diff --git a/docs/doxygen/latex/sll_8c_a66769edc21579f71972ac90de6da4a9f_cgraph.pdf b/docs/doxygen/latex/sll_8c_a66769edc21579f71972ac90de6da4a9f_cgraph.pdf deleted file mode 100644 index 2657e31..0000000 Binary files a/docs/doxygen/latex/sll_8c_a66769edc21579f71972ac90de6da4a9f_cgraph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/sll_8c_a78ef5151212d47bb63f2fd93453283ed_icgraph.md5 b/docs/doxygen/latex/sll_8c_a78ef5151212d47bb63f2fd93453283ed_icgraph.md5 deleted file mode 100644 index 3cb5c56..0000000 --- a/docs/doxygen/latex/sll_8c_a78ef5151212d47bb63f2fd93453283ed_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -ce635f8e203afe654ab1fbbed4de8e33 \ No newline at end of file diff --git a/docs/doxygen/latex/sll_8c_a78ef5151212d47bb63f2fd93453283ed_icgraph.pdf b/docs/doxygen/latex/sll_8c_a78ef5151212d47bb63f2fd93453283ed_icgraph.pdf deleted file mode 100644 index 578de4e..0000000 Binary files a/docs/doxygen/latex/sll_8c_a78ef5151212d47bb63f2fd93453283ed_icgraph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/sll_8c_aaf7e4557200dec55dec679f63de2b4d1_icgraph.md5 b/docs/doxygen/latex/sll_8c_aaf7e4557200dec55dec679f63de2b4d1_icgraph.md5 deleted file mode 100644 index 41ad48f..0000000 --- a/docs/doxygen/latex/sll_8c_aaf7e4557200dec55dec679f63de2b4d1_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -54597ab1399381e7f2c1116a44054736 \ No newline at end of file diff --git a/docs/doxygen/latex/sll_8c_aaf7e4557200dec55dec679f63de2b4d1_icgraph.pdf b/docs/doxygen/latex/sll_8c_aaf7e4557200dec55dec679f63de2b4d1_icgraph.pdf deleted file mode 100644 index 70765ed..0000000 Binary files a/docs/doxygen/latex/sll_8c_aaf7e4557200dec55dec679f63de2b4d1_icgraph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/sll_8c_af7327f24d1900d495c1bf914a592b631_icgraph.md5 b/docs/doxygen/latex/sll_8c_af7327f24d1900d495c1bf914a592b631_icgraph.md5 deleted file mode 100644 index b4bc212..0000000 --- a/docs/doxygen/latex/sll_8c_af7327f24d1900d495c1bf914a592b631_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -5662a37ef15b76ba3ede33954b5b6f6d \ No newline at end of file diff --git a/docs/doxygen/latex/sll_8c_af7327f24d1900d495c1bf914a592b631_icgraph.pdf b/docs/doxygen/latex/sll_8c_af7327f24d1900d495c1bf914a592b631_icgraph.pdf deleted file mode 100644 index 078381a..0000000 Binary files a/docs/doxygen/latex/sll_8c_af7327f24d1900d495c1bf914a592b631_icgraph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/sll_8c_afd494f171c24981f0d7a007841f21cfe_cgraph.md5 b/docs/doxygen/latex/sll_8c_afd494f171c24981f0d7a007841f21cfe_cgraph.md5 deleted file mode 100644 index a925b7f..0000000 --- a/docs/doxygen/latex/sll_8c_afd494f171c24981f0d7a007841f21cfe_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -4a11eeb37ed04053ce55403269c262c4 \ No newline at end of file diff --git a/docs/doxygen/latex/sll_8c_afd494f171c24981f0d7a007841f21cfe_cgraph.pdf b/docs/doxygen/latex/sll_8c_afd494f171c24981f0d7a007841f21cfe_cgraph.pdf deleted file mode 100644 index 2ccb94f..0000000 Binary files a/docs/doxygen/latex/sll_8c_afd494f171c24981f0d7a007841f21cfe_cgraph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/sll_8h.tex b/docs/doxygen/latex/sll_8h.tex deleted file mode 100644 index 1cb0e38..0000000 --- a/docs/doxygen/latex/sll_8h.tex +++ /dev/null @@ -1,472 +0,0 @@ -\hypertarget{sll_8h}{ -\section{src/lists/single\_\-link/sll.h File Reference} -\label{sll_8h}\index{src/lists/single\_\-link/sll.h@{src/lists/single\_\-link/sll.h}} -} -This graph shows which files directly or indirectly include this file:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=200pt]{sll_8h__dep__incl} -\end{center} -\end{figure} -\subsection*{Classes} -\begin{DoxyCompactItemize} -\item -struct \hyperlink{structsll__node}{sll\_\-node} -\begin{DoxyCompactList}\small\item\em A linked list node. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Typedefs} -\begin{DoxyCompactItemize} -\item -typedef struct \hyperlink{structsll__node}{sll\_\-node} \hyperlink{sll_8h_a168d63554ec6362ceecf64acc3e15bce}{sll\_\-node} -\begin{DoxyCompactList}\small\item\em A linked list node. \item\end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -\hyperlink{structsll__node}{sll\_\-node} $\ast$ \hyperlink{sll_8h_a471151d11dc385e3364c9a38b19ecba7}{sll\_\-new} (void $\ast$contents) -\begin{DoxyCompactList}\small\item\em Creates a new linked list node with the supplied value. \item\end{DoxyCompactList}\item -\hyperlink{structsll__node}{sll\_\-node} $\ast$ \hyperlink{sll_8h_abe6fe02fbfcbf1d647ff94295b855e7e}{sll\_\-front} (\hyperlink{structsll__node}{sll\_\-node} $\ast$list) -\begin{DoxyCompactList}\small\item\em Finds and returns the first node in the supplied linked list. \item\end{DoxyCompactList}\item -\hyperlink{structsll__node}{sll\_\-node} $\ast$ \hyperlink{sll_8h_a78ef5151212d47bb63f2fd93453283ed}{sll\_\-back} (\hyperlink{structsll__node}{sll\_\-node} $\ast$list) -\begin{DoxyCompactList}\small\item\em Finds and returns the last node in the supplied linked list. \item\end{DoxyCompactList}\item -\hyperlink{structsll__node}{sll\_\-node} $\ast$ \hyperlink{sll_8h_a0582f263482ead73d53b018978513540}{sll\_\-index} (\hyperlink{structsll__node}{sll\_\-node} $\ast$list, int index) -\begin{DoxyCompactList}\small\item\em Return the node at the specified index in a linked list. \item\end{DoxyCompactList}\item -\hyperlink{structsll__node}{sll\_\-node} $\ast$ \hyperlink{sll_8h_acfe3ebc296fe75f1d0ee21195dd7b9bf}{sll\_\-push\_\-front} (\hyperlink{structsll__node}{sll\_\-node} $\ast$list, void $\ast$contents) -\begin{DoxyCompactList}\small\item\em Adds a new node to the front of an existing linked list. \item\end{DoxyCompactList}\item -\hyperlink{structsll__node}{sll\_\-node} $\ast$ \hyperlink{sll_8h_a19ad0a86a87451a3ab68ad6d18c3e3e0}{sll\_\-push\_\-back} (\hyperlink{structsll__node}{sll\_\-node} $\ast$list, void $\ast$contents) -\begin{DoxyCompactList}\small\item\em Adds a new node to the end of an existing linked list. \item\end{DoxyCompactList}\item -void \hyperlink{sll_8h_a6702f6f18b540bd21165295eb3ca5c25}{sll\_\-pop\_\-front} (\hyperlink{structsll__node}{sll\_\-node} $\ast$list, int free\_\-contents) -\begin{DoxyCompactList}\small\item\em Removes and returns a pointer to the first element of the list. \item\end{DoxyCompactList}\item -void \hyperlink{sll_8h_a58add98a437335c8f927344215a40d11}{sll\_\-pop\_\-back} (\hyperlink{structsll__node}{sll\_\-node} $\ast$list, int free\_\-contents) -\begin{DoxyCompactList}\small\item\em Removes and returns a pointer to the last element of the list. \item\end{DoxyCompactList}\item -\hyperlink{structsll__node}{sll\_\-node} $\ast$ \hyperlink{sll_8h_a66769edc21579f71972ac90de6da4a9f}{sll\_\-insert} (\hyperlink{structsll__node}{sll\_\-node} $\ast$list, int index, void $\ast$contents) -\begin{DoxyCompactList}\small\item\em Inserts a new node in a linked list at the specified index. \item\end{DoxyCompactList}\item -\hyperlink{structsll__node}{sll\_\-node} $\ast$ \hyperlink{sll_8h_afd494f171c24981f0d7a007841f21cfe}{sll\_\-delete} (\hyperlink{structsll__node}{sll\_\-node} $\ast$list, int index, int free\_\-contents) -\begin{DoxyCompactList}\small\item\em Deletes a node from the supplied list. \item\end{DoxyCompactList}\item -void \hyperlink{sll_8h_a7373cc6bac0876b330da73722e24910b}{sll\_\-free} (\hyperlink{structsll__node}{sll\_\-node} $\ast$list, int free\_\-contents) -\begin{DoxyCompactList}\small\item\em Frees all memory used by a linked list. \item\end{DoxyCompactList}\item -unsigned int \hyperlink{sll_8h_af5f6589df6d0ef48ed6f57ac5527ddfe}{sll\_\-length} (\hyperlink{structsll__node}{sll\_\-node} $\ast$list) -\begin{DoxyCompactList}\small\item\em Returns the number of elements in the list. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Typedef Documentation} -\hypertarget{sll_8h_a168d63554ec6362ceecf64acc3e15bce}{ -\index{sll.h@{sll.h}!sll\_\-node@{sll\_\-node}} -\index{sll\_\-node@{sll\_\-node}!sll.h@{sll.h}} -\subsubsection[{sll\_\-node}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf sll\_\-node} {\bf sll\_\-node}}} -\label{sll_8h_a168d63554ec6362ceecf64acc3e15bce} - - -A linked list node. - - - -\subsection{Function Documentation} -\hypertarget{sll_8h_a78ef5151212d47bb63f2fd93453283ed}{ -\index{sll.h@{sll.h}!sll\_\-back@{sll\_\-back}} -\index{sll\_\-back@{sll\_\-back}!sll.h@{sll.h}} -\subsubsection[{sll\_\-back}]{\setlength{\rightskip}{0pt plus 5cm}{\bf sll\_\-node}$\ast$ sll\_\-back ( -\begin{DoxyParamCaption} -\item[{{\bf sll\_\-node} $\ast$}]{list} -\end{DoxyParamCaption} -)}} -\label{sll_8h_a78ef5151212d47bb63f2fd93453283ed} - - -Finds and returns the last node in the supplied linked list. - -This function returns a pointer to the last node in the given linked list. - - -\begin{DoxyParams}{Parameters} -{\em list} & The linked list to search.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -Pointer to the last node in the supplied list. -\end{DoxyReturn} - - -Definition at line 42 of file sll.c. - - - -Here is the caller graph for this function:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=250pt]{sll_8h_a78ef5151212d47bb63f2fd93453283ed_icgraph} -\end{center} -\end{figure} - - -\hypertarget{sll_8h_afd494f171c24981f0d7a007841f21cfe}{ -\index{sll.h@{sll.h}!sll\_\-delete@{sll\_\-delete}} -\index{sll\_\-delete@{sll\_\-delete}!sll.h@{sll.h}} -\subsubsection[{sll\_\-delete}]{\setlength{\rightskip}{0pt plus 5cm}{\bf sll\_\-node}$\ast$ sll\_\-delete ( -\begin{DoxyParamCaption} -\item[{{\bf sll\_\-node} $\ast$}]{list, } -\item[{int}]{index, } -\item[{int}]{free\_\-contents} -\end{DoxyParamCaption} -)}} -\label{sll_8h_afd494f171c24981f0d7a007841f21cfe} - - -Deletes a node from the supplied list. - -This function traverses the list to the desired index and frees the memory allocated for that node. If the deleted node has a child then the child is reattached to the deleted node's parent. If free\_\-contents is passed a non-\/zero value then the node's contents pointer is also freed. - - -\begin{DoxyParams}{Parameters} -{\em list} & The list to operate on. \\ -\hline -{\em index} & The index of the node to delete. \\ -\hline -{\em free\_\-contents} & Whether or not to also free the contents of the node.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -Pointer to the node that is now at the supplied index. -\end{DoxyReturn} - - -Definition at line 102 of file sll.c. - - - -Here is the call graph for this function:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=230pt]{sll_8h_afd494f171c24981f0d7a007841f21cfe_cgraph} -\end{center} -\end{figure} - - -\hypertarget{sll_8h_a7373cc6bac0876b330da73722e24910b}{ -\index{sll.h@{sll.h}!sll\_\-free@{sll\_\-free}} -\index{sll\_\-free@{sll\_\-free}!sll.h@{sll.h}} -\subsubsection[{sll\_\-free}]{\setlength{\rightskip}{0pt plus 5cm}void sll\_\-free ( -\begin{DoxyParamCaption} -\item[{{\bf sll\_\-node} $\ast$}]{list, } -\item[{int}]{free\_\-contents} -\end{DoxyParamCaption} -)}} -\label{sll_8h_a7373cc6bac0876b330da73722e24910b} - - -Frees all memory used by a linked list. - -This function loops through the supplied list and frees all nodes. Also frees contents if free\_\-contents is passed a non-\/zero value. - - -\begin{DoxyParams}{Parameters} -{\em list} & The list to be freed. \\ -\hline -{\em free\_\-contents} & Whether or not to also free the contents of each node. \\ -\hline -\end{DoxyParams} - - -Definition at line 119 of file sll.c. - -\hypertarget{sll_8h_abe6fe02fbfcbf1d647ff94295b855e7e}{ -\index{sll.h@{sll.h}!sll\_\-front@{sll\_\-front}} -\index{sll\_\-front@{sll\_\-front}!sll.h@{sll.h}} -\subsubsection[{sll\_\-front}]{\setlength{\rightskip}{0pt plus 5cm}{\bf sll\_\-node}$\ast$ sll\_\-front ( -\begin{DoxyParamCaption} -\item[{{\bf sll\_\-node} $\ast$}]{list} -\end{DoxyParamCaption} -)}} -\label{sll_8h_abe6fe02fbfcbf1d647ff94295b855e7e} - - -Finds and returns the first node in the supplied linked list. - -This function returns a pointer to the first node in the given linked list. - - -\begin{DoxyParams}{Parameters} -{\em list} & The linked list to search.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -Pointer to the last node in the supplied list. -\end{DoxyReturn} - - -Definition at line 38 of file sll.c. - -\hypertarget{sll_8h_a0582f263482ead73d53b018978513540}{ -\index{sll.h@{sll.h}!sll\_\-index@{sll\_\-index}} -\index{sll\_\-index@{sll\_\-index}!sll.h@{sll.h}} -\subsubsection[{sll\_\-index}]{\setlength{\rightskip}{0pt plus 5cm}{\bf sll\_\-node}$\ast$ sll\_\-index ( -\begin{DoxyParamCaption} -\item[{{\bf sll\_\-node} $\ast$}]{list, } -\item[{int}]{index} -\end{DoxyParamCaption} -)}} -\label{sll_8h_a0582f263482ead73d53b018978513540} - - -Return the node at the specified index in a linked list. - -This function loops through the linked list and returns the node in the list at the specified index. Returns NULL if the index is out of range. - - -\begin{DoxyParams}{Parameters} -{\em list} & The list to search for the supplied index. \\ -\hline -{\em index} & The index of the node to return.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -A pointer to the node and the supplied index, NULL if out of range. -\end{DoxyReturn} - - -Definition at line 52 of file sll.c. - - - -Here is the caller graph for this function:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=230pt]{sll_8h_a0582f263482ead73d53b018978513540_icgraph} -\end{center} -\end{figure} - - -\hypertarget{sll_8h_a66769edc21579f71972ac90de6da4a9f}{ -\index{sll.h@{sll.h}!sll\_\-insert@{sll\_\-insert}} -\index{sll\_\-insert@{sll\_\-insert}!sll.h@{sll.h}} -\subsubsection[{sll\_\-insert}]{\setlength{\rightskip}{0pt plus 5cm}{\bf sll\_\-node}$\ast$ sll\_\-insert ( -\begin{DoxyParamCaption} -\item[{{\bf sll\_\-node} $\ast$}]{list, } -\item[{int}]{index, } -\item[{void $\ast$}]{contents} -\end{DoxyParamCaption} -)}} -\label{sll_8h_a66769edc21579f71972ac90de6da4a9f} - - -Inserts a new node in a linked list at the specified index. - -This function traverses the list to the desired index and inserts a new node with the given contents at that position. The node previously at the desired index becomes the child of the new node. - - -\begin{DoxyParams}{Parameters} -{\em list} & The list to operate on. \\ -\hline -{\em index} & The index where the new node will be inserted. \\ -\hline -{\em contents} & The contents of the new node.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -Pointer to the newly inserted node, NULL if index is out of range. -\end{DoxyReturn} - - -Definition at line 88 of file sll.c. - - - -Here is the call graph for this function:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=228pt]{sll_8h_a66769edc21579f71972ac90de6da4a9f_cgraph} -\end{center} -\end{figure} - - -\hypertarget{sll_8h_af5f6589df6d0ef48ed6f57ac5527ddfe}{ -\index{sll.h@{sll.h}!sll\_\-length@{sll\_\-length}} -\index{sll\_\-length@{sll\_\-length}!sll.h@{sll.h}} -\subsubsection[{sll\_\-length}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int sll\_\-length ( -\begin{DoxyParamCaption} -\item[{{\bf sll\_\-node} $\ast$}]{list} -\end{DoxyParamCaption} -)}} -\label{sll_8h_af5f6589df6d0ef48ed6f57ac5527ddfe} - - -Returns the number of elements in the list. - -This function loops through the supplied list and returns a count of the number of elements contained in the list. - - -\begin{DoxyParams}{Parameters} -{\em list} & The list to be counted.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -The number of elements in the list. -\end{DoxyReturn} - - -Definition at line 134 of file sll.c. - -\hypertarget{sll_8h_a471151d11dc385e3364c9a38b19ecba7}{ -\index{sll.h@{sll.h}!sll\_\-new@{sll\_\-new}} -\index{sll\_\-new@{sll\_\-new}!sll.h@{sll.h}} -\subsubsection[{sll\_\-new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf sll\_\-node}$\ast$ sll\_\-new ( -\begin{DoxyParamCaption} -\item[{void $\ast$}]{contents} -\end{DoxyParamCaption} -)}} -\label{sll_8h_a471151d11dc385e3364c9a38b19ecba7} - - -Creates a new linked list node with the supplied value. - -This function allocates a new node and populates the node contents with the supplied contents pointer. - - -\begin{DoxyParams}{Parameters} -{\em contents} & The contents of the newly created node.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -A pointer to the newly created node. -\end{DoxyReturn} - - -Definition at line 30 of file sll.c. - - - -Here is the caller graph for this function:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=246pt]{sll_8h_a471151d11dc385e3364c9a38b19ecba7_icgraph} -\end{center} -\end{figure} - - -\hypertarget{sll_8h_a58add98a437335c8f927344215a40d11}{ -\index{sll.h@{sll.h}!sll\_\-pop\_\-back@{sll\_\-pop\_\-back}} -\index{sll\_\-pop\_\-back@{sll\_\-pop\_\-back}!sll.h@{sll.h}} -\subsubsection[{sll\_\-pop\_\-back}]{\setlength{\rightskip}{0pt plus 5cm}void sll\_\-pop\_\-back ( -\begin{DoxyParamCaption} -\item[{{\bf sll\_\-node} $\ast$}]{list, } -\item[{int}]{free\_\-contents} -\end{DoxyParamCaption} -)}} -\label{sll_8h_a58add98a437335c8f927344215a40d11} - - -Removes and returns a pointer to the last element of the list. - -This function removes the last node from the list and frees it's associated memory. If free\_\-contents is passed a non-\/zero value then it's contents pointer is also freed. The second to last node in the list becomes the new tail of the list. - - -\begin{DoxyParams}{Parameters} -{\em list} & The list to operate on. \\ -\hline -{\em free\_\-contents} & Determines whether to free the contents pointer.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -Pointer to the newly added node. -\end{DoxyReturn} -\hypertarget{sll_8h_a6702f6f18b540bd21165295eb3ca5c25}{ -\index{sll.h@{sll.h}!sll\_\-pop\_\-front@{sll\_\-pop\_\-front}} -\index{sll\_\-pop\_\-front@{sll\_\-pop\_\-front}!sll.h@{sll.h}} -\subsubsection[{sll\_\-pop\_\-front}]{\setlength{\rightskip}{0pt plus 5cm}void sll\_\-pop\_\-front ( -\begin{DoxyParamCaption} -\item[{{\bf sll\_\-node} $\ast$}]{list, } -\item[{int}]{free\_\-contents} -\end{DoxyParamCaption} -)}} -\label{sll_8h_a6702f6f18b540bd21165295eb3ca5c25} - - -Removes and returns a pointer to the first element of the list. - -This function removes the first node from the list and frees it's associated memory. If free\_\-contents is passed a non-\/zero value then it's contents pointer is also freed. The second node in the list becomes the new head of the list. - - -\begin{DoxyParams}{Parameters} -{\em list} & The lsit to operate on. \\ -\hline -{\em free\_\-contents} & Determines whether to free the contents pointer.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -Pointer to the newly added node. -\end{DoxyReturn} -\hypertarget{sll_8h_a19ad0a86a87451a3ab68ad6d18c3e3e0}{ -\index{sll.h@{sll.h}!sll\_\-push\_\-back@{sll\_\-push\_\-back}} -\index{sll\_\-push\_\-back@{sll\_\-push\_\-back}!sll.h@{sll.h}} -\subsubsection[{sll\_\-push\_\-back}]{\setlength{\rightskip}{0pt plus 5cm}{\bf sll\_\-node}$\ast$ sll\_\-push\_\-back ( -\begin{DoxyParamCaption} -\item[{{\bf sll\_\-node} $\ast$}]{list, } -\item[{void $\ast$}]{contents} -\end{DoxyParamCaption} -)}} -\label{sll_8h_a19ad0a86a87451a3ab68ad6d18c3e3e0} - - -Adds a new node to the end of an existing linked list. - -This function creates a new node and pushes it to the end of the given list. The newly created node becomes the new tail of the list. - - -\begin{DoxyParams}{Parameters} -{\em list} & The list to operate on. \\ -\hline -{\em contents} & The contents of the new node.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -Pointer to the newly added node. -\end{DoxyReturn} - - -Definition at line 70 of file sll.c. - - - -Here is the call graph for this function:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=250pt]{sll_8h_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph} -\end{center} -\end{figure} - - -\hypertarget{sll_8h_acfe3ebc296fe75f1d0ee21195dd7b9bf}{ -\index{sll.h@{sll.h}!sll\_\-push\_\-front@{sll\_\-push\_\-front}} -\index{sll\_\-push\_\-front@{sll\_\-push\_\-front}!sll.h@{sll.h}} -\subsubsection[{sll\_\-push\_\-front}]{\setlength{\rightskip}{0pt plus 5cm}{\bf sll\_\-node}$\ast$ sll\_\-push\_\-front ( -\begin{DoxyParamCaption} -\item[{{\bf sll\_\-node} $\ast$}]{list, } -\item[{void $\ast$}]{contents} -\end{DoxyParamCaption} -)}} -\label{sll_8h_acfe3ebc296fe75f1d0ee21195dd7b9bf} - - -Adds a new node to the front of an existing linked list. - -This function creates a new node and pushes it to the beginning of the given list. The newly created node becomes the new head of the list. - - -\begin{DoxyParams}{Parameters} -{\em list} & The list to operate on. \\ -\hline -{\em contents} & The contents of the new node.\\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -Pointer to the newly added node. -\end{DoxyReturn} - - -Definition at line 76 of file sll.c. - diff --git a/docs/doxygen/latex/sll_8h__dep__incl.md5 b/docs/doxygen/latex/sll_8h__dep__incl.md5 deleted file mode 100644 index 3fc9763..0000000 --- a/docs/doxygen/latex/sll_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -9f4dec3633163cddd35b0b73c800fbf3 \ No newline at end of file diff --git a/docs/doxygen/latex/sll_8h__dep__incl.pdf b/docs/doxygen/latex/sll_8h__dep__incl.pdf deleted file mode 100644 index 4045b63..0000000 Binary files a/docs/doxygen/latex/sll_8h__dep__incl.pdf and /dev/null differ diff --git a/docs/doxygen/latex/sll_8h_a0582f263482ead73d53b018978513540_icgraph.md5 b/docs/doxygen/latex/sll_8h_a0582f263482ead73d53b018978513540_icgraph.md5 deleted file mode 100644 index 4dcf5ad..0000000 --- a/docs/doxygen/latex/sll_8h_a0582f263482ead73d53b018978513540_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -97869c702dd3b7d1f194fdca6b728d80 \ No newline at end of file diff --git a/docs/doxygen/latex/sll_8h_a0582f263482ead73d53b018978513540_icgraph.pdf b/docs/doxygen/latex/sll_8h_a0582f263482ead73d53b018978513540_icgraph.pdf deleted file mode 100644 index 70c1903..0000000 Binary files a/docs/doxygen/latex/sll_8h_a0582f263482ead73d53b018978513540_icgraph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/sll_8h_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.md5 b/docs/doxygen/latex/sll_8h_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.md5 deleted file mode 100644 index 227319a..0000000 --- a/docs/doxygen/latex/sll_8h_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -4d54969c7b5d51dc6baf61fb8dc9c924 \ No newline at end of file diff --git a/docs/doxygen/latex/sll_8h_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.pdf b/docs/doxygen/latex/sll_8h_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.pdf deleted file mode 100644 index 6388541..0000000 Binary files a/docs/doxygen/latex/sll_8h_a0751beeb21d1540c9ddcd5e01964e23e_cgraph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/sll_8h_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.md5 b/docs/doxygen/latex/sll_8h_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.md5 deleted file mode 100644 index b04e3a4..0000000 --- a/docs/doxygen/latex/sll_8h_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -19e92655d2cd2aed2ed1ac777c5a4137 \ No newline at end of file diff --git a/docs/doxygen/latex/sll_8h_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.pdf b/docs/doxygen/latex/sll_8h_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.pdf deleted file mode 100644 index c91bed9..0000000 Binary files a/docs/doxygen/latex/sll_8h_a19ad0a86a87451a3ab68ad6d18c3e3e0_cgraph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/sll_8h_a471151d11dc385e3364c9a38b19ecba7_icgraph.md5 b/docs/doxygen/latex/sll_8h_a471151d11dc385e3364c9a38b19ecba7_icgraph.md5 deleted file mode 100644 index 1faac50..0000000 --- a/docs/doxygen/latex/sll_8h_a471151d11dc385e3364c9a38b19ecba7_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -593f610131b43e39c633453ac1cd8021 \ No newline at end of file diff --git a/docs/doxygen/latex/sll_8h_a471151d11dc385e3364c9a38b19ecba7_icgraph.pdf b/docs/doxygen/latex/sll_8h_a471151d11dc385e3364c9a38b19ecba7_icgraph.pdf deleted file mode 100644 index 9c2d6e1..0000000 Binary files a/docs/doxygen/latex/sll_8h_a471151d11dc385e3364c9a38b19ecba7_icgraph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/sll_8h_a66769edc21579f71972ac90de6da4a9f_cgraph.md5 b/docs/doxygen/latex/sll_8h_a66769edc21579f71972ac90de6da4a9f_cgraph.md5 deleted file mode 100644 index c2e76c5..0000000 --- a/docs/doxygen/latex/sll_8h_a66769edc21579f71972ac90de6da4a9f_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -ce51c1faa4690651fe962f50f6718bc2 \ No newline at end of file diff --git a/docs/doxygen/latex/sll_8h_a66769edc21579f71972ac90de6da4a9f_cgraph.pdf b/docs/doxygen/latex/sll_8h_a66769edc21579f71972ac90de6da4a9f_cgraph.pdf deleted file mode 100644 index 2657e31..0000000 Binary files a/docs/doxygen/latex/sll_8h_a66769edc21579f71972ac90de6da4a9f_cgraph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/sll_8h_a78ef5151212d47bb63f2fd93453283ed_icgraph.md5 b/docs/doxygen/latex/sll_8h_a78ef5151212d47bb63f2fd93453283ed_icgraph.md5 deleted file mode 100644 index 3cb5c56..0000000 --- a/docs/doxygen/latex/sll_8h_a78ef5151212d47bb63f2fd93453283ed_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -ce635f8e203afe654ab1fbbed4de8e33 \ No newline at end of file diff --git a/docs/doxygen/latex/sll_8h_a78ef5151212d47bb63f2fd93453283ed_icgraph.pdf b/docs/doxygen/latex/sll_8h_a78ef5151212d47bb63f2fd93453283ed_icgraph.pdf deleted file mode 100644 index 578de4e..0000000 Binary files a/docs/doxygen/latex/sll_8h_a78ef5151212d47bb63f2fd93453283ed_icgraph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/sll_8h_aaf7e4557200dec55dec679f63de2b4d1_icgraph.md5 b/docs/doxygen/latex/sll_8h_aaf7e4557200dec55dec679f63de2b4d1_icgraph.md5 deleted file mode 100644 index 41ad48f..0000000 --- a/docs/doxygen/latex/sll_8h_aaf7e4557200dec55dec679f63de2b4d1_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -54597ab1399381e7f2c1116a44054736 \ No newline at end of file diff --git a/docs/doxygen/latex/sll_8h_aaf7e4557200dec55dec679f63de2b4d1_icgraph.pdf b/docs/doxygen/latex/sll_8h_aaf7e4557200dec55dec679f63de2b4d1_icgraph.pdf deleted file mode 100644 index 70765ed..0000000 Binary files a/docs/doxygen/latex/sll_8h_aaf7e4557200dec55dec679f63de2b4d1_icgraph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/sll_8h_af7327f24d1900d495c1bf914a592b631_icgraph.md5 b/docs/doxygen/latex/sll_8h_af7327f24d1900d495c1bf914a592b631_icgraph.md5 deleted file mode 100644 index b4bc212..0000000 --- a/docs/doxygen/latex/sll_8h_af7327f24d1900d495c1bf914a592b631_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -5662a37ef15b76ba3ede33954b5b6f6d \ No newline at end of file diff --git a/docs/doxygen/latex/sll_8h_af7327f24d1900d495c1bf914a592b631_icgraph.pdf b/docs/doxygen/latex/sll_8h_af7327f24d1900d495c1bf914a592b631_icgraph.pdf deleted file mode 100644 index 078381a..0000000 Binary files a/docs/doxygen/latex/sll_8h_af7327f24d1900d495c1bf914a592b631_icgraph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/sll_8h_afd494f171c24981f0d7a007841f21cfe_cgraph.md5 b/docs/doxygen/latex/sll_8h_afd494f171c24981f0d7a007841f21cfe_cgraph.md5 deleted file mode 100644 index a925b7f..0000000 --- a/docs/doxygen/latex/sll_8h_afd494f171c24981f0d7a007841f21cfe_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -4a11eeb37ed04053ce55403269c262c4 \ No newline at end of file diff --git a/docs/doxygen/latex/sll_8h_afd494f171c24981f0d7a007841f21cfe_cgraph.pdf b/docs/doxygen/latex/sll_8h_afd494f171c24981f0d7a007841f21cfe_cgraph.pdf deleted file mode 100644 index 2ccb94f..0000000 Binary files a/docs/doxygen/latex/sll_8h_afd494f171c24981f0d7a007841f21cfe_cgraph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/structbt__node.tex b/docs/doxygen/latex/structbt__node.tex deleted file mode 100644 index bcd68f2..0000000 --- a/docs/doxygen/latex/structbt__node.tex +++ /dev/null @@ -1,85 +0,0 @@ -\hypertarget{structbt__node}{ -\section{bt\_\-node Struct Reference} -\label{structbt__node}\index{bt\_\-node@{bt\_\-node}} -} - - -A binary tree node. - - - - -{\ttfamily \#include $<$bt.h$>$} - - - -Collaboration diagram for bt\_\-node:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=167pt]{structbt__node__coll__graph} -\end{center} -\end{figure} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -void $\ast$ \hyperlink{structbt__node_a9e0d7c8bb9ca7bb4b69bd4af9ca1440c}{contents} -\begin{DoxyCompactList}\small\item\em The contents of the tree node. \item\end{DoxyCompactList}\item -struct \hyperlink{structbt__node}{bt\_\-node} $\ast$ \hyperlink{structbt__node_a689e6fb3fde56bc337d5234b0d7f8e80}{left} -\begin{DoxyCompactList}\small\item\em The left child of the tree node. \item\end{DoxyCompactList}\item -struct \hyperlink{structbt__node}{bt\_\-node} $\ast$ \hyperlink{structbt__node_aefe84db5b1f24953aba4743200b24898}{right} -\begin{DoxyCompactList}\small\item\em the right child of the tree node. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -A binary tree node. - -Definition at line 34 of file bt.h. - - - -\subsection{Member Data Documentation} -\hypertarget{structbt__node_a9e0d7c8bb9ca7bb4b69bd4af9ca1440c}{ -\index{bt\_\-node@{bt\_\-node}!contents@{contents}} -\index{contents@{contents}!bt_node@{bt\_\-node}} -\subsubsection[{contents}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ {\bf bt\_\-node::contents}}} -\label{structbt__node_a9e0d7c8bb9ca7bb4b69bd4af9ca1440c} - - -The contents of the tree node. - - - -Definition at line 37 of file bt.h. - -\hypertarget{structbt__node_a689e6fb3fde56bc337d5234b0d7f8e80}{ -\index{bt\_\-node@{bt\_\-node}!left@{left}} -\index{left@{left}!bt_node@{bt\_\-node}} -\subsubsection[{left}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf bt\_\-node}$\ast$ {\bf bt\_\-node::left}}} -\label{structbt__node_a689e6fb3fde56bc337d5234b0d7f8e80} - - -The left child of the tree node. - - - -Definition at line 39 of file bt.h. - -\hypertarget{structbt__node_aefe84db5b1f24953aba4743200b24898}{ -\index{bt\_\-node@{bt\_\-node}!right@{right}} -\index{right@{right}!bt_node@{bt\_\-node}} -\subsubsection[{right}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf bt\_\-node}$\ast$ {\bf bt\_\-node::right}}} -\label{structbt__node_aefe84db5b1f24953aba4743200b24898} - - -the right child of the tree node. - - - -Definition at line 41 of file bt.h. - - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -src/trees/binary/\hyperlink{bt_8h}{bt.h}\end{DoxyCompactItemize} diff --git a/docs/doxygen/latex/structbt__node__coll__graph.md5 b/docs/doxygen/latex/structbt__node__coll__graph.md5 deleted file mode 100644 index 342abb3..0000000 --- a/docs/doxygen/latex/structbt__node__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -f856bfd02666749fdb3c89616eece6d9 \ No newline at end of file diff --git a/docs/doxygen/latex/structbt__node__coll__graph.pdf b/docs/doxygen/latex/structbt__node__coll__graph.pdf deleted file mode 100644 index 988d9cf..0000000 Binary files a/docs/doxygen/latex/structbt__node__coll__graph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/structbt__tree.tex b/docs/doxygen/latex/structbt__tree.tex deleted file mode 100644 index defe19b..0000000 --- a/docs/doxygen/latex/structbt__tree.tex +++ /dev/null @@ -1,70 +0,0 @@ -\hypertarget{structbt__tree}{ -\section{bt\_\-tree Struct Reference} -\label{structbt__tree}\index{bt\_\-tree@{bt\_\-tree}} -} - - -A binary tree. - - - - -{\ttfamily \#include $<$bt.h$>$} - - - -Collaboration diagram for bt\_\-tree:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=167pt]{structbt__tree__coll__graph} -\end{center} -\end{figure} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hyperlink{structbt__node}{bt\_\-node} $\ast$ \hyperlink{structbt__tree_ae428a77981f3b9f27f959b78ed468db7}{root} -\begin{DoxyCompactList}\small\item\em The root of the binary tree. \item\end{DoxyCompactList}\item -\hyperlink{bt_8h_a8a7bf1216efb8b05f20a020acd705f75}{bt\_\-compare\_\-func} \hyperlink{structbt__tree_a7ac2a5e50551c1a10b1bf3884cd12af5}{compare} -\begin{DoxyCompactList}\small\item\em The function used to compare data. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -A binary tree. - -Definition at line 45 of file bt.h. - - - -\subsection{Member Data Documentation} -\hypertarget{structbt__tree_a7ac2a5e50551c1a10b1bf3884cd12af5}{ -\index{bt\_\-tree@{bt\_\-tree}!compare@{compare}} -\index{compare@{compare}!bt_tree@{bt\_\-tree}} -\subsubsection[{compare}]{\setlength{\rightskip}{0pt plus 5cm}{\bf bt\_\-compare\_\-func} {\bf bt\_\-tree::compare}}} -\label{structbt__tree_a7ac2a5e50551c1a10b1bf3884cd12af5} - - -The function used to compare data. - - - -Definition at line 50 of file bt.h. - -\hypertarget{structbt__tree_ae428a77981f3b9f27f959b78ed468db7}{ -\index{bt\_\-tree@{bt\_\-tree}!root@{root}} -\index{root@{root}!bt_tree@{bt\_\-tree}} -\subsubsection[{root}]{\setlength{\rightskip}{0pt plus 5cm}{\bf bt\_\-node}$\ast$ {\bf bt\_\-tree::root}}} -\label{structbt__tree_ae428a77981f3b9f27f959b78ed468db7} - - -The root of the binary tree. - - - -Definition at line 48 of file bt.h. - - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -src/trees/binary/\hyperlink{bt_8h}{bt.h}\end{DoxyCompactItemize} diff --git a/docs/doxygen/latex/structbt__tree__coll__graph.md5 b/docs/doxygen/latex/structbt__tree__coll__graph.md5 deleted file mode 100644 index 24e5ae2..0000000 --- a/docs/doxygen/latex/structbt__tree__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -92a8ab8fa9e52963611ba11b39ae0108 \ No newline at end of file diff --git a/docs/doxygen/latex/structbt__tree__coll__graph.pdf b/docs/doxygen/latex/structbt__tree__coll__graph.pdf deleted file mode 100644 index 766b54f..0000000 Binary files a/docs/doxygen/latex/structbt__tree__coll__graph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/structht__node.tex b/docs/doxygen/latex/structht__node.tex deleted file mode 100644 index e52535e..0000000 --- a/docs/doxygen/latex/structht__node.tex +++ /dev/null @@ -1,76 +0,0 @@ -\hypertarget{structht__node}{ -\section{ht\_\-node Struct Reference} -\label{structht__node}\index{ht\_\-node@{ht\_\-node}} -} - - -A node in a hash table. - - - - -{\ttfamily \#include $<$ht.h$>$} - -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -void $\ast$ \hyperlink{structht__node_a7ae2a850d1c6e0abb86b3d901fb5d16b}{key} -\begin{DoxyCompactList}\small\item\em Pointer to the key. \item\end{DoxyCompactList}\item -void $\ast$ \hyperlink{structht__node_a0e050852d00670316f005463a7d749f8}{val} -\begin{DoxyCompactList}\small\item\em Pointer to the value. \item\end{DoxyCompactList}\item -struct node $\ast$ \hyperlink{structht__node_ae1c5c426c9f752a40b5db427b506060e}{next} -\begin{DoxyCompactList}\small\item\em Pointer to the next node in the collision chain. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -A node in a hash table. - -Definition at line 34 of file ht.h. - - - -\subsection{Member Data Documentation} -\hypertarget{structht__node_a7ae2a850d1c6e0abb86b3d901fb5d16b}{ -\index{ht\_\-node@{ht\_\-node}!key@{key}} -\index{key@{key}!ht_node@{ht\_\-node}} -\subsubsection[{key}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ {\bf ht\_\-node::key}}} -\label{structht__node_a7ae2a850d1c6e0abb86b3d901fb5d16b} - - -Pointer to the key. - - - -Definition at line 37 of file ht.h. - -\hypertarget{structht__node_ae1c5c426c9f752a40b5db427b506060e}{ -\index{ht\_\-node@{ht\_\-node}!next@{next}} -\index{next@{next}!ht_node@{ht\_\-node}} -\subsubsection[{next}]{\setlength{\rightskip}{0pt plus 5cm}struct node$\ast$ {\bf ht\_\-node::next}}} -\label{structht__node_ae1c5c426c9f752a40b5db427b506060e} - - -Pointer to the next node in the collision chain. - - - -Definition at line 41 of file ht.h. - -\hypertarget{structht__node_a0e050852d00670316f005463a7d749f8}{ -\index{ht\_\-node@{ht\_\-node}!val@{val}} -\index{val@{val}!ht_node@{ht\_\-node}} -\subsubsection[{val}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ {\bf ht\_\-node::val}}} -\label{structht__node_a0e050852d00670316f005463a7d749f8} - - -Pointer to the value. - - - -Definition at line 39 of file ht.h. - - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -src/ht/\hyperlink{ht_8h}{ht.h}\end{DoxyCompactItemize} diff --git a/docs/doxygen/latex/structht__table.tex b/docs/doxygen/latex/structht__table.tex deleted file mode 100644 index c520180..0000000 --- a/docs/doxygen/latex/structht__table.tex +++ /dev/null @@ -1,85 +0,0 @@ -\hypertarget{structht__table}{ -\section{ht\_\-table Struct Reference} -\label{structht__table}\index{ht\_\-table@{ht\_\-table}} -} - - -A hash table. - - - - -{\ttfamily \#include $<$ht.h$>$} - - - -Collaboration diagram for ht\_\-table:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=130pt]{structht__table__coll__graph} -\end{center} -\end{figure} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -unsigned int \hyperlink{structht__table_a493b0baf20b4274a08b5451e61f8e5f4}{size} -\begin{DoxyCompactList}\small\item\em Size of the internal table. \item\end{DoxyCompactList}\item -\hyperlink{structht__node}{ht\_\-node} $\ast$$\ast$ \hyperlink{structht__table_ae739f6f0d8b6cd6f55337ae7d0761dfc}{table} -\begin{DoxyCompactList}\small\item\em Pointer to the internal hashing table. \item\end{DoxyCompactList}\item -\hyperlink{ht_8h_a91a8d03489ef281e6f26d389c44d42cf}{ht\_\-hash\_\-func} \hyperlink{structht__table_abe53fe8d261dea812255944769d22f45}{hash\_\-func} -\begin{DoxyCompactList}\small\item\em Function used for hashing elements. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -A hash table. - -Definition at line 45 of file ht.h. - - - -\subsection{Member Data Documentation} -\hypertarget{structht__table_abe53fe8d261dea812255944769d22f45}{ -\index{ht\_\-table@{ht\_\-table}!hash\_\-func@{hash\_\-func}} -\index{hash\_\-func@{hash\_\-func}!ht_table@{ht\_\-table}} -\subsubsection[{hash\_\-func}]{\setlength{\rightskip}{0pt plus 5cm}{\bf ht\_\-hash\_\-func} {\bf ht\_\-table::hash\_\-func}}} -\label{structht__table_abe53fe8d261dea812255944769d22f45} - - -Function used for hashing elements. - - - -Definition at line 52 of file ht.h. - -\hypertarget{structht__table_a493b0baf20b4274a08b5451e61f8e5f4}{ -\index{ht\_\-table@{ht\_\-table}!size@{size}} -\index{size@{size}!ht_table@{ht\_\-table}} -\subsubsection[{size}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf ht\_\-table::size}}} -\label{structht__table_a493b0baf20b4274a08b5451e61f8e5f4} - - -Size of the internal table. - - - -Definition at line 48 of file ht.h. - -\hypertarget{structht__table_ae739f6f0d8b6cd6f55337ae7d0761dfc}{ -\index{ht\_\-table@{ht\_\-table}!table@{table}} -\index{table@{table}!ht_table@{ht\_\-table}} -\subsubsection[{table}]{\setlength{\rightskip}{0pt plus 5cm}{\bf ht\_\-node}$\ast$$\ast$ {\bf ht\_\-table::table}}} -\label{structht__table_ae739f6f0d8b6cd6f55337ae7d0761dfc} - - -Pointer to the internal hashing table. - - - -Definition at line 50 of file ht.h. - - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -src/ht/\hyperlink{ht_8h}{ht.h}\end{DoxyCompactItemize} diff --git a/docs/doxygen/latex/structht__table__coll__graph.md5 b/docs/doxygen/latex/structht__table__coll__graph.md5 deleted file mode 100644 index c14c656..0000000 --- a/docs/doxygen/latex/structht__table__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -c099f525bafd0cf5b8d3a0f2c07b8269 \ No newline at end of file diff --git a/docs/doxygen/latex/structht__table__coll__graph.pdf b/docs/doxygen/latex/structht__table__coll__graph.pdf deleted file mode 100644 index afd2b46..0000000 Binary files a/docs/doxygen/latex/structht__table__coll__graph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/structnode.tex b/docs/doxygen/latex/structnode.tex deleted file mode 100644 index 2c57567..0000000 --- a/docs/doxygen/latex/structnode.tex +++ /dev/null @@ -1,85 +0,0 @@ -\hypertarget{structnode}{ -\section{node Struct Reference} -\label{structnode}\index{node@{node}} -} - - -A node in a hash table. - - - - -{\ttfamily \#include $<$ht.h$>$} - - - -Collaboration diagram for node:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=155pt]{structnode__coll__graph} -\end{center} -\end{figure} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -void $\ast$ \hyperlink{structnode_a72c8a0c41b801c92db89c5078642f28b}{key} -\begin{DoxyCompactList}\small\item\em Pointer to the key. \item\end{DoxyCompactList}\item -void $\ast$ \hyperlink{structnode_a3866f55c05d50265b730d8cdeec0a1f8}{val} -\begin{DoxyCompactList}\small\item\em Pointer to the value. \item\end{DoxyCompactList}\item -struct \hyperlink{structnode}{node} $\ast$ \hyperlink{structnode_aa3e8aa83f864292b5a01210f4453fcc0}{next} -\begin{DoxyCompactList}\small\item\em Pointer to the next node in the collision chain. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -A node in a hash table. - -Definition at line 34 of file ht.h. - - - -\subsection{Member Data Documentation} -\hypertarget{structnode_a72c8a0c41b801c92db89c5078642f28b}{ -\index{node@{node}!key@{key}} -\index{key@{key}!node@{node}} -\subsubsection[{key}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ {\bf node::key}}} -\label{structnode_a72c8a0c41b801c92db89c5078642f28b} - - -Pointer to the key. - - - -Definition at line 37 of file ht.h. - -\hypertarget{structnode_aa3e8aa83f864292b5a01210f4453fcc0}{ -\index{node@{node}!next@{next}} -\index{next@{next}!node@{node}} -\subsubsection[{next}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf node}$\ast$ {\bf node::next}}} -\label{structnode_aa3e8aa83f864292b5a01210f4453fcc0} - - -Pointer to the next node in the collision chain. - - - -Definition at line 41 of file ht.h. - -\hypertarget{structnode_a3866f55c05d50265b730d8cdeec0a1f8}{ -\index{node@{node}!val@{val}} -\index{val@{val}!node@{node}} -\subsubsection[{val}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ {\bf node::val}}} -\label{structnode_a3866f55c05d50265b730d8cdeec0a1f8} - - -Pointer to the value. - - - -Definition at line 39 of file ht.h. - - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -src/ht/\hyperlink{ht_8h}{ht.h}\end{DoxyCompactItemize} diff --git a/docs/doxygen/latex/structnode__coll__graph.md5 b/docs/doxygen/latex/structnode__coll__graph.md5 deleted file mode 100644 index 36c1f10..0000000 --- a/docs/doxygen/latex/structnode__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -932cb5a7484a81061893b7cf00765ee1 \ No newline at end of file diff --git a/docs/doxygen/latex/structnode__coll__graph.pdf b/docs/doxygen/latex/structnode__coll__graph.pdf deleted file mode 100644 index 3e2f2a8..0000000 Binary files a/docs/doxygen/latex/structnode__coll__graph.pdf and /dev/null differ diff --git a/docs/doxygen/latex/structsll__node.tex b/docs/doxygen/latex/structsll__node.tex deleted file mode 100644 index c5b1745..0000000 --- a/docs/doxygen/latex/structsll__node.tex +++ /dev/null @@ -1,70 +0,0 @@ -\hypertarget{structsll__node}{ -\section{sll\_\-node Struct Reference} -\label{structsll__node}\index{sll\_\-node@{sll\_\-node}} -} - - -A linked list node. - - - - -{\ttfamily \#include $<$sll.h$>$} - - - -Collaboration diagram for sll\_\-node:\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=169pt]{structsll__node__coll__graph} -\end{center} -\end{figure} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -void $\ast$ \hyperlink{structsll__node_aafacbed96ba149b0b8c705426196154c}{contents} -\begin{DoxyCompactList}\small\item\em Pointer to the contents the node. \item\end{DoxyCompactList}\item -struct \hyperlink{structsll__node}{sll\_\-node} $\ast$ \hyperlink{structsll__node_aa2e4c5d743ad44e759b5ca13f9915826}{next} -\begin{DoxyCompactList}\small\item\em Pointer to next node in the list. \item\end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -A linked list node. - -Definition at line 31 of file sll.h. - - - -\subsection{Member Data Documentation} -\hypertarget{structsll__node_aafacbed96ba149b0b8c705426196154c}{ -\index{sll\_\-node@{sll\_\-node}!contents@{contents}} -\index{contents@{contents}!sll_node@{sll\_\-node}} -\subsubsection[{contents}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ {\bf sll\_\-node::contents}}} -\label{structsll__node_aafacbed96ba149b0b8c705426196154c} - - -Pointer to the contents the node. - - - -Definition at line 34 of file sll.h. - -\hypertarget{structsll__node_aa2e4c5d743ad44e759b5ca13f9915826}{ -\index{sll\_\-node@{sll\_\-node}!next@{next}} -\index{next@{next}!sll_node@{sll\_\-node}} -\subsubsection[{next}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf sll\_\-node}$\ast$ {\bf sll\_\-node::next}}} -\label{structsll__node_aa2e4c5d743ad44e759b5ca13f9915826} - - -Pointer to next node in the list. - - - -Definition at line 36 of file sll.h. - - - -The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize} -\item -src/lists/single\_\-link/\hyperlink{sll_8h}{sll.h}\end{DoxyCompactItemize} diff --git a/docs/doxygen/latex/structsll__node__coll__graph.md5 b/docs/doxygen/latex/structsll__node__coll__graph.md5 deleted file mode 100644 index c1f3675..0000000 --- a/docs/doxygen/latex/structsll__node__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -da110d52695e8fef0d9b15f8212329e0 \ No newline at end of file diff --git a/docs/doxygen/latex/structsll__node__coll__graph.pdf b/docs/doxygen/latex/structsll__node__coll__graph.pdf deleted file mode 100644 index 8dd0aeb..0000000 Binary files a/docs/doxygen/latex/structsll__node__coll__graph.pdf and /dev/null differ