|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.fasteasytrade.JRandTest.Tests.CmdLine
Commnad line class to read from console / end-user the filename / algorithmname and testname to be executed.
Generally, we will try to keep similar functions and options as in Gui class.
Field Summary | |
(package private) String[] |
algoClassNames
|
(package private) String[] |
algoNames
|
(package private) String[] |
cardNames
|
(package private) String[] |
classNames
|
(package private) Run |
r1
|
(package private) MinimumDistance |
r10
|
(package private) CountThe1s |
r11
|
(package private) CountThe1sSpecificBytes |
r12
|
(package private) BirthdaySpacings |
r13
|
(package private) BinaryRankTestFor6x8Matrices |
r14
|
(package private) BinaryRankTestFor31x31Matrices |
r15
|
(package private) BinaryRankTestFor32x32Matrices |
r16
|
(package private) Overlapping20TuplesBitstream |
r17
|
(package private) OverlappingPairsSparseOccupancy |
r18
|
(package private) OverlappingQuadruplesSparseOccupancy |
r19
|
(package private) Count1Bit |
r2
|
(package private) DNA |
r20
|
(package private) Count2Bits |
r3
|
(package private) Count3Bits |
r4
|
(package private) Count4Bits |
r5
|
(package private) Count8Bits |
r6
|
(package private) Count16Bits |
r7
|
(package private) MonteCarlo |
r8
|
(package private) Squeeze |
r9
|
Constructor Summary | |
CmdLine()
|
Method Summary | |
private Vector |
loadPropFile(String fn)
read list of tests from property file named alltests.txt. |
static void |
main(String[] args)
|
static void |
printCopyrights()
print copyrights to console. |
void |
runCmd(String[] args)
Simple session: 1. get input filename/algorithm for all tests (or "exit") 2. repeat till "exit" 2.1 display list of tests 2.2 get requested test number 2.3 run the test on the input file |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
String[] cardNames
String[] classNames
String[] algoNames
String[] algoClassNames
Run r1
Count1Bit r2
Count2Bits r3
Count3Bits r4
Count4Bits r5
Count8Bits r6
Count16Bits r7
MonteCarlo r8
Squeeze r9
MinimumDistance r10
CountThe1s r11
CountThe1sSpecificBytes r12
BirthdaySpacings r13
BinaryRankTestFor6x8Matrices r14
BinaryRankTestFor31x31Matrices r15
BinaryRankTestFor32x32Matrices r16
Overlapping20TuplesBitstream r17
OverlappingPairsSparseOccupancy r18
OverlappingQuadruplesSparseOccupancy r19
DNA r20
Constructor Detail |
public CmdLine()
Method Detail |
public static void printCopyrights()
private Vector loadPropFile(String fn)
Property file contains:
shortname=classname
where shortname will be displayed toend user in GUI window.
classname is the real class name of the test to be laoded dynamically and run (as Base interface).
public void runCmd(String[] args) throws Exception
args
- not used.
Exception
- generally are grabbed, but some I/O Exceptions are thrown.public static void main(String[] args)
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |