|
||||||||
PREV NEXT | FRAMES NO FRAMES |
Package bigOpera |
---|
Class bigOpera.BigOpera extends java.lang.Object implements Serializable |
---|
serialVersionUID: 7625597484987L
Serialized Fields |
---|
java.lang.String serialPath
null
if serialization is unwanted. Default is "BigOpera.bin"
int PRINT_MULTI_STATS
PRINT_MULTI_STATS
inbetween. endY
is not a multiple.
boolean PRINT_OBITS
12 = 111111111111
15 = O(3,5,1) = 0111011111011
23 = O(3,O(4,5,1)) = 011100111101111101101
226 = 01000111011111011011011101
boolean PREFER_LOWER_C
false
the order of creation prevails, which favors higher c.
The default also minimizes the construction stack counts, eg. 16 9 8 8 2^^3 7 5 4
int Y_MAX
Integer.MAX_VALUE
number of integers takes 2^31*4bytes = 8Gb
Y_MAX = 2097152 => Y_MAX*data.length = 8Mb*6 = 48Mb
endY==1000000
contains hundreds of megabytes!
int cMax
a+b
where a>1
.a+b<11
this cMax = 3
or ^^
because 2^^4 = 2^16 = 65536 = 2^^^3
(same Vingers value too)
and 9^^2 = 9^9 = 387420489
and 10^10 > Integer.MAX_VALUE
a+b<33
this is 2 because 2^31 = Integer.MAX_VALUE+1
int[] B_MAX
b
for each c
.B_MAX = { 524286, 262143, 18, 4 }
int[] abLimits
yEnd
later.ab
in the construction loop gets bigger put cMax--
abLimits[2]
for ^
powers is the maximal root plus 2.
java.io.BufferedWriter textWriter
BufferedWriter
is not constructed to append text.
main(java.lang.String[])
,
print(java.lang.String)
int[][] data
V1
for +*
is the number of ones needed to create a number with +
and *
V2
for +*^
is the number of ones needed to create a number with c={0,1,2}
Vn
for +*^..
is the number of ones needed to create a number with c>=0
a
first operant in last equation with least V
b
second operant in last equation with least V
c
operator number of last equation with least V
W1
passed in its +*
construction stack.W2
passed in its +*^
construction stack.Wn
passed in its widest +*^..
construction stack.setModel(int)
.
long[] totals
V
and bigO stack values W
.
From these the percentage gain from allowing a wider operator can be calculated.totals
is indexed as follows:
V1
for +*
V2
for +*^
Vn
for +*^..
W1
for +*
W2
for +*^
Wn
for +*^..
double obitDeviationTotal
printData(int)
to display Obit trends at each call to printFooter(int)
.
int[] yNextVn
V
value thus far.
Set to highlight "~" the start of higher V at number y in printData(int)
.
int[] yNextWn
W
value thus far.
Set to highlight "~" the start of higher W at number y in printData(int)
.
|
||||||||
PREV NEXT | FRAMES NO FRAMES |