Go to the documentation of this file.00001 #ifndef _DJS_ADJLIST_ALGORITHM_H_
00002 #define _DJS_ADJLIST_ALGORITHM_H_
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #include<assert.h>
00019 #include<stdio.h>
00020 #include<stdlib.h>
00021 #include<string.h>
00022
00023 #include"misc.h"
00024 #include"LinkedList.h"
00025 #include"MemoryManager.h"
00026
00044 long listAllMaximalCliquesAdjacencyList( LinkedList** adjList,
00045 int** adjacencyList,
00046 #ifdef RETURN_CLIQUES_ONE_BY_ONE
00047 LinkedList* cliques,
00048 #endif
00049 int* degree,
00050 int size);
00051
00052 int findBestPivotNonNeighborsAdjacencyList( int** pivotNonNeighbors, int* numNonNeighbors,
00053 int** adjacencyList, int* degree,
00054 int* vertexSets, int* vertexLookup, int size,
00055 int beginX, int beginP, int beginR);
00056
00057 void listAllMaximalCliquesAdjacencyListRecursive( long* cliqueCount,
00058 #ifdef RETURN_CLIQUES_ONE_BY_ONE
00059 LinkedList* cliques,
00060 #endif
00061 LinkedList* partialClique,
00062 int** adjacencyList, int* degree,
00063 int* vertexSets, int* vertexLookup, int size,
00064 int beginX, int beginR, int beginP);
00065
00066 #endif