perfecthash.generator

Undocumented in source.

Members

Aliases

KeyValue
alias KeyValue = Tuple!(string, "key", uint, "value")
Undocumented in source.

Functions

assignVertexValues
void assignVertexValues(Edge[] edges, Vertex[] vertices, size_t n, size_t[] rawBits, Appender!(ToCheck[]) toCheck)
Undocumented in source. Be warned that the author may not have intended to support it.
calcEdges
bool calcEdges(Range keys, HashFunction[2] hashFunction, Edge[] edges, Vertex[] vertices)
Undocumented in source. Be warned that the author may not have intended to support it.
createPerfectHashFunction
auto createPerfectHashFunction(string[] keys, Random rnd)
Undocumented in source. Be warned that the author may not have intended to support it.
createPerfectHashFunction
auto createPerfectHashFunction(Range keys, Random rnd, ulong maxHnsecs, size_t startN)
Undocumented in source. Be warned that the author may not have intended to support it.
extractG
auto extractG(Vertex[] vertices)
Undocumented in source. Be warned that the author may not have intended to support it.
isCyclic
bool isCyclic(Edge[] edges, Vertex[] vertices, size_t[] rawBits, Appender!(ToCheck[]) toCheck)
Undocumented in source. Be warned that the author may not have intended to support it.
outgoing
auto outgoing(Edge[] edges, Vertex vertex)
Undocumented in source. Be warned that the author may not have intended to support it.
toDModule
string toDModule(PerfectHashFunction fun, string symbolName, string moduleName)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Edge
struct Edge
Undocumented in source.
HashFunction
struct HashFunction
Undocumented in source.
Input
struct Input
Undocumented in source.
PerfectHashFunction
struct PerfectHashFunction
Undocumented in source.
State
struct State
Undocumented in source.
ToCheck
struct ToCheck
Undocumented in source.
Vertex
struct Vertex
Undocumented in source.

Meta