annotate gengetopt.in @ 171:bb934f91d85c powertable

Web services interface to the powertable functionality. * Implemented as a completely new SOAP method, called sequenceQuery * lightly tested with http://doc.gold.ac.uk/~mas01cr/poweradb.php (lacuna: need to pass relative-threshold and absolute-threshold always, even when they don't make sense.) Several uglinesses in the code, some of which will be resolved once all the various branches are merged into the trunk.
author mas01cr
date Wed, 14 Nov 2007 14:00:53 +0000
parents a564e6d7a30c
children
rev   line source
mas01cr@0 1 package "audioDB"
mas01cr@0 2 version "version 1.0"
mas01cr@0 3 purpose "A feature vector database management system for content-based retrieval."
mas01cr@0 4 option "help" H "print help on audioDB usage and exit." optional
mas01cr@0 5 option "verbosity" v "level of detail of operational information." int typestr="detail" default="1" optional
mas01cr@0 6 text "\nDatabase commands are UPPER CASE. Command options are lower case.\n"
mas01cr@0 7 text ""
mas01cr@0 8 section "Database Setup" sectiondesc="All database operations require a database argument."
mas01cr@0 9
mas01cr@0 10 option "database" d "database file required by Database commands." string typestr="filename" optional
mas01cr@0 11 option "NEW" N "make a new (initially empty) database." dependon="database" optional
mas01cr@129 12 option "size" - "size of database file (in MB)" int dependon="NEW" default="2000" optional
mas01cr@0 13 option "STATUS" S "output database information to stdout." dependon="database" optional
mas01cr@0 14 option "DUMP" D "output all entries: index key size." dependon="database" optional
mas01cr@131 15 option "output" - "output directory" string dependon="DUMP" default="audioDB.dump" optional
mas01cr@0 16 option "L2NORM" L "unit norm vectors and norm all future inserts." dependon="database" optional
mas01cr@146 17 option "POWER" P "turn on power flag for database." dependon="database" optional
mas01cr@129 18
mas01cr@0 19 section "Database Insertion" sectiondesc="The following commands insert feature files, with optional keys and timestamps.\n"
mas01cr@9 20 option "INSERT" I "add feature vectors to an existing database." dependon="features" optional
mas01cr@0 21 option "UPDATE" U "replace inserted vectors associated with key with new input vectors." dependon="features" dependon="key" dependon="database" optional hidden
mas01cr@0 22 option "features" f "binary series of vectors file {int sz:ieee double[][sz]:eof}." string typestr="filename" dependon="database" optional
mas01cr@0 23 option "times" t "list of time points (ascii) for feature vectors." string typestr="filename" dependon="features" optional
mas01cr@143 24 option "power" w "binary power feature file." string typestr="filename" dependon="database" optional
mas01cr@0 25 option "key" k "unique identifier associated with features." string typestr="identifier" dependon="features" optional
mas01cr@0 26 text ""
mas01cr@0 27 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
mas01mc@18 28 option "featureList" F "text file containing list of binary feature vector files to process, one per track" string typestr="filename" dependon="database" optional
mas01cr@0 29 option "timesList" T "text file containing list of ascii --times for each --features file in --featureList." string typestr="filename" dependon="featureList" optional
mas01cr@143 30 option "powerList" W "text file containing list of binary power feature file." string typestr="filename" dependon="database" optional
mas01cr@0 31 option "keyList" K "text file containing list of unique identifiers associated with --features." string typestr="filename" optional
mas01cr@0 32
mas01cr@0 33
mas01cr@0 34 section "Database Search" sectiondesc="Thse commands control the retrieval behaviour.\n"
mas01cr@0 35
mas01mc@18 36 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" typestr="searchtype" dependon="database" dependon="features" optional
mas01cr@0 37 option "qpoint" p "ordinal position of query start point in --features file." int typestr="position" default="0" optional
mas01cr@0 38 option "exhaustive" e "exhaustive search: iterate through all query vectors in search. Overrides --qpoint." flag off optional hidden
mas01cr@0 39 option "pointnn" n "number of point nearest neighbours to use in retrieval." int typestr="numpoints" default="10" optional
mas01mc@19 40 option "radius" R "radius search, returns all points/tracks/sequences inside given radius. (Overrides --pointnn)." double default="1.0" optional
mas01cr@0 41 option "expandfactor" x "time compress/expand factor of result length to query length [1.0 .. 100.0]." double default="1.1" optional hidden
mas01cr@0 42 option "rotate" o "rotate query vectors for rotationally invariant search." flag off optional hidden
mas01cr@0 43 option "resultlength" r "maximum length of the result list." int typestr="length" default="10" optional
mas01cr@0 44 option "sequencelength" l "length of sequences for sequence search." int typestr="length" default="16" dependon="QUERY" optional
mas01cr@0 45 option "sequencehop" h "hop size of sequence window for sequence search." int typestr="hop" default="1" dependon="QUERY" optional
mas01cr@147 46 option "absolute-threshold" - "absolute power threshold for consideration of query or target sequence (in Bels)" double dependon="QUERY" optional
mas01cr@147 47 option "relative-threshold" - "relative power threshold between query and target sequence (in Bels)" double dependon="QUERY" optional
mas01cr@0 48
mas01cr@0 49 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"
mas01cr@64 50 option "SERVER" s "run as standalone web service on named port." int typestr="port" default="14475" optional
mas01cr@0 51 option "client" c "run as a client using named host service." string typestr="hostname:port" optional
mas01cr@0 52
mas01cr@0 53
mas01cr@0 54 text "\nCopyright (C) 2007 Michael Casey, Goldsmiths, University of London\n"