comparison gengetopt.in @ 292:d9a88cfd4ab6

Completed merge of lshlib back to current version of the trunk.
author mas01mc
date Tue, 29 Jul 2008 22:01:17 +0000
parents 152bd8ee12e2
children f922c234462f
comparison
equal deleted inserted replaced
291:63ae0dfc1767 292:d9a88cfd4ab6
21 21
22 option "DUMP" D "output all entries: index key size." dependon="database" optional 22 option "DUMP" D "output all entries: index key size." dependon="database" optional
23 option "output" - "output directory" string dependon="DUMP" default="audioDB.dump" optional 23 option "output" - "output directory" string dependon="DUMP" default="audioDB.dump" optional
24 option "L2NORM" L "unit norm vectors and norm all future inserts." dependon="database" optional 24 option "L2NORM" L "unit norm vectors and norm all future inserts." dependon="database" optional
25 option "POWER" P "turn on power flag for database." dependon="database" optional 25 option "POWER" P "turn on power flag for database." dependon="database" optional
26 26 option "INDEX" X "build an index for -d database at -R radius" dependon="database" dependon="radius" optional
27 section "Database Information" sectiondesc="Information about databases." 27 section "Database Information" sectiondesc="Information about databases."
28 28
29 option "STATUS" S "output database information to stdout." dependon="database" optional 29 option "STATUS" S "output database information to stdout." dependon="database" optional
30 option "SAMPLE" - "sample statistics for database." dependon="database" optional 30 option "SAMPLE" - "sample statistics for database." dependon="database" optional
31 option "nsamples" - "number of pairwise samples to take." dependon="SAMPLE" int typestr="number" default="2000" optional 31 option "nsamples" - "number of pairwise samples to take." dependon="SAMPLE" int typestr="number" default="2000" optional
35 option "INSERT" I "add feature vectors to an existing database." dependon="features" optional 35 option "INSERT" I "add feature vectors to an existing database." dependon="features" optional
36 option "UPDATE" U "replace inserted vectors associated with key with new input vectors." dependon="features" dependon="key" dependon="database" optional hidden 36 option "UPDATE" U "replace inserted vectors associated with key with new input vectors." dependon="features" dependon="key" dependon="database" optional hidden
37 option "features" f "binary series of vectors file {int sz:ieee double[][sz]:eof}." string typestr="filename" dependon="database" optional 37 option "features" f "binary series of vectors file {int sz:ieee double[][sz]:eof}." string typestr="filename" dependon="database" optional
38 option "times" t "list of time points (ascii) for feature vectors." string typestr="filename" dependon="features" optional 38 option "times" t "list of time points (ascii) for feature vectors." string typestr="filename" dependon="features" optional
39 option "power" w "binary power feature file." string typestr="filename" dependon="database" optional 39 option "power" w "binary power feature file." string typestr="filename" dependon="database" optional
40 option "key" k "unique identifier associated with features." string typestr="identifier" dependon="features" optional 40 option "key" k "unique identifier associated with features." string typestr="identifier" optional
41 text "" 41 text ""
42 option "BATCHINSERT" B "add feature vectors named in a --featureList file (with optional keys in a --keyList file) to the named database." dependon="featureList" optional 42 option "BATCHINSERT" B "add feature vectors named in a --featureList file (with optional keys in a --keyList file) to the named database." dependon="featureList" optional
43 option "featureList" F "text file containing list of binary feature vector files to process, one per track" string typestr="filename" dependon="database" optional 43 option "featureList" F "text file containing list of binary feature vector files to process, one per track" string typestr="filename" dependon="database" optional
44 option "timesList" T "text file containing list of ascii --times for each --features file in --featureList." string typestr="filename" dependon="featureList" optional 44 option "timesList" T "text file containing list of ascii --times for each --features file in --featureList." string typestr="filename" dependon="featureList" optional
45 option "powerList" W "text file containing list of binary power feature file." string typestr="filename" dependon="database" optional 45 option "powerList" W "text file containing list of binary power feature file." string typestr="filename" dependon="database" optional
46 option "keyList" K "text file containing list of unique identifiers associated with --features." string typestr="filename" optional 46 option "keyList" K "text file containing list of unique identifiers associated with --features." string typestr="filename" optional
47 47
48 option "sequencelength" l "length of sequences for sequence search." int typestr="length" default="16" optional 48 section "Database Search" sectiondesc="These commands control the retrieval behaviour.\n"
49 49
50 50 option "QUERY" Q "content-based search on --database using --features as a query. Optionally restrict the search to those tracks identified in a --keyList." values="point","track","sequence","nsequence","onetoonensequence" typestr="searchtype" dependon="database" optional
51 section "Database Search" sectiondesc="Thse commands control the retrieval behaviour.\n"
52
53 option "QUERY" Q "content-based search on --database using --features as a query. Optionally restrict the search to those tracks identified in a --keyList." values="point","track","sequence","nsequence","onetoonensequence" typestr="searchtype" dependon="database" dependon="features" optional
54 option "qpoint" p "ordinal position of query start point in --features file." int typestr="position" default="0" optional 51 option "qpoint" p "ordinal position of query start point in --features file." int typestr="position" default="0" optional
55 option "exhaustive" e "exhaustive search: iterate through all query vectors in search. Overrides --qpoint." flag off optional hidden 52 option "exhaustive" e "exhaustive search: iterate through all query vectors in search. Overrides --qpoint." flag off optional hidden
56 option "pointnn" n "number of point nearest neighbours to use in retrieval." int typestr="numpoints" default="10" optional 53 option "pointnn" n "number of point nearest neighbours to use in retrieval." int typestr="numpoints" default="10" optional
57 option "radius" R "radius search, returns all points/tracks/sequences inside given radius. (Overrides --pointnn)." double default="1.0" optional 54 option "radius" R "radius search, returns all points/tracks/sequences inside given radius. (Overrides --pointnn)." double default="1.0" optional
58 option "expandfactor" x "time compress/expand factor of result length to query length [1.0 .. 100.0]." double default="1.1" optional hidden 55 option "expandfactor" x "time compress/expand factor of result length to query length [1.0 .. 100.0]." double default="1.1" optional hidden
59 option "rotate" o "rotate query vectors for rotationally invariant search." flag off optional hidden 56 option "rotate" o "rotate query vectors for rotationally invariant search." flag off optional hidden
60 option "resultlength" r "maximum length of the result list." int typestr="length" default="10" optional 57 option "resultlength" r "maximum length of the result list." int typestr="length" default="10" optional
58 option "sequencelength" l "length of sequences for sequence search." int typestr="length" default="16" optional
61 option "sequencehop" h "hop size of sequence window for sequence search." int typestr="hop" default="1" dependon="QUERY" optional 59 option "sequencehop" h "hop size of sequence window for sequence search." int typestr="hop" default="1" dependon="QUERY" optional
62 option "absolute-threshold" - "absolute power threshold for consideration of query or target sequence (in Bels)" double dependon="QUERY" optional 60 option "absolute-threshold" - "absolute power threshold for consideration of query or target sequence (in Bels)" double optional
63 option "relative-threshold" - "relative power threshold between query and target sequence (in Bels)" double dependon="QUERY" optional 61 option "relative-threshold" - "relative power threshold between query and target sequence (in Bels)" double dependon="QUERY" optional
64 62
63 section "Locality-sensitive hashing (LSH) parameters" sectiondesc="These parameters control LSH indexing and retrieval\n"
64
65 option "lsh_w" - "width of LSH hash-function bins. " double default="4.0" dependon="INDEX" optional hidden
66 option "lsh_k" - "even number of independent hash functions to employ with LSH" int typestr="size" default="8" dependon="INDEX" optional
67 option "lsh_m" - "number of hash tables is m(m-1)/2" int typestr="size" default="5" dependon="INDEX" optional
68 option "lsh_N" - "number of rows per hash tables" int typestr="size" default="100000" dependon="INDEX" optional
69 option "lsh_b" - "number of tracks per indexing iteration" int typestr="size" default="500" dependon="INDEX" optional
70 option "lsh_ncols" - "number of columns (collisions) to allocate in LSH serialization" int typestr="size" default="250" dependon="INDEX" optional
71 option "lsh_exact" - "use exact evaluation of points retrieved by LSH." flag off dependon="QUERY" optional
72 option "lsh_inCore" - "LSH hash tables resident in core (INDEX/QUERY)" flag on optional
73 option "lsh_use_u_functions" - "use m independent hash functions combinatorically to approximate L independent hash functions." flag off optional
74
75 section "Normalization control parameters" sectiondesc="These parameters control the normalization of feaures at query time\n"
76
77 option "no_unit_norming" - "do not unit norm features when querying an L2Norm databases." flag off optional
78
65 section "Web Services" sectiondesc="These commands enable the database process to establish a connection via the internet and operate as separate client and server processes.\n" 79 section "Web Services" sectiondesc="These commands enable the database process to establish a connection via the internet and operate as separate client and server processes.\n"
80
66 option "SERVER" s "run as standalone web service on named port." int typestr="port" default="14475" optional 81 option "SERVER" s "run as standalone web service on named port." int typestr="port" default="14475" optional
67 option "client" c "run as a client using named host service." string typestr="hostname:port" optional 82 option "client" c "run as a client using named host service." string typestr="hostname:port" optional
68 83
69 84
70 text " 85 text "
71 Copyright (c) 2007 Michael Casey, Christophe Rhodes 86 Copyright (c) 2007 Michael Casey, Christophe Rhodes
72 Goldsmiths, University of London" 87 Goldsmiths, University of London"