ddc
Classes | Macros | Functions
IndexSet.cpp File Reference
#include "StdConc.h"
#include "IndexSet.h"
#include "ConcIndexator.h"
#include "ConcordAlgorithm.h"
Include dependency graph for IndexSet.cpp:

Classes

struct  LessByPrefixIndex
 
struct  LessBySuffixIndex
 

Macros

#define udebug(msg)
 
#define utrace(msg)
 

Functions

void SaveOnePartOfUnionTokenStorage (string inputFileName, FILE *out_fp, const vector< DWORD > &Old2New)
 
static void CreatePartitionStorage (string inputFileName, vector< CStringIndexSet *> &Partitions, const vector< CTokenNo > &EndTokenNo, const vector< vector< DWORD > > &xlateItemId)
 
static void SortOccurrences (vector< CTokenNo > &occurrences, size_t SortChunkCount)
 

Macro Definition Documentation

◆ udebug

#define udebug (   msg)

◆ utrace

#define utrace (   msg)

Function Documentation

◆ SaveOnePartOfUnionTokenStorage()

void SaveOnePartOfUnionTokenStorage ( string  inputFileName,
FILE *  out_fp,
const vector< DWORD > &  Old2New 
)

References Format().

Referenced by CStringIndexSet::CreateUnionTokenStorages().

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

◆ CreatePartitionStorage()

static void CreatePartitionStorage ( string  inputFileName,
vector< CStringIndexSet *> &  Partitions,
const vector< CTokenNo > &  EndTokenNo,
const vector< vector< DWORD > > &  xlateItemId 
)
static

References Format(), and CStringIndexSet::GetStorageFileName().

Referenced by CStringIndexSet::CreateSplitPartitions().

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

◆ SortOccurrences()

static void SortOccurrences ( vector< CTokenNo > &  occurrences,
size_t  SortChunkCount 
)
static

References SortWithLists().

Referenced by CStringIndexSet::FindOccurrences().

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