|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Above : |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
()Title : Lung adenocarcinoma ADENO_1 chart in adeno1_res_20110224.ods |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
()Title : Lung adenocarcinoma ADENO_7 chart in adeno7_res_20110224.ods |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
()Title : Lung adenocarcinoma ADENO_1 chart in adeno1_res_20110224.ods |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Blast (www.ncbi.nih.gov) searches produce long genomic regions and numerous unmapped sequences . |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Institute of Mathematics, Siberian Branch of Russian Academy of Science, Novosibirsk, Russia. gusev@math.nsc.ru MOTIVATION:
It is well known that the regulatory regions of genomes are highly
repetitive. They are rich in direct, symmetric and complemented
repeats, and there is no doubt about the functional significance of
these repeats. Among known measures of complexity, the Ziv-Lempel
complexity measure reflects most adequately repeats occurring in the
text. But this measure does not take into account isomorphic repeats.
By isomorphic repeats we mean fragments that are identical (or
symmetric) (.)marked by this author Routine sources are included in genetic_sequence_binary_factor_grouping.zip ( at 20.12.2010 ) in the following execution order : genetic_sequence_binary_factor_grouping.txt These routines use a permuted number index order based on a merit factor attributed number scale . The merit factor attributed number scale is computed using scan numbers as 4x4bit binary factor indexes in an 16bit integer array . The exponents of array sub group counts and corresponding factor sums in relation to actual number serie factor bounds produce the merit factor number attributes . All computed data and corresponding sequences depend on multiplier values . Multiplier values determine and abstract ranges and contents of the permutation groups . (!) mar79_5.cpp ( 28.06.2011 ) is the practical implementation of compression . |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
To Borce Dzinleski |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
ABSTRACT The low-autocorrelation binary sequence (LABS) problem represents a major challenge to all search algorithms, with the evolutionary algorithms claiming the best results so far. However, the termination criteria for these types of stochastic algorithms are not well-defined and no claims have been made about optimality. Our approach to find the optima of the LABS problem is based on (1) experiments with problem sizes for which optimal solutions are known, (2) an asymptotic analysis of statistics generated by such experiments, (3) reliable predictions of the cost required to find optimal solutions for larger problem sizes. The proposed methodology provides a well-defined termination criterion for evolutionary and alternative search algorithms alike. Keywords: fundamental combinatorial algorithms, performance predictions and evaluations, low-autocorrelation binary sequence, evolutionary algorithms
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
21.09.2007 VRM 1.4.0 Download
File mar73.zip |
|
30.10.2007 VRM 1.3.1 Download File msort3.zip |
|
|
|
|
|
|
|
|
|
THE RANDOM KEYS DISTRIBUTION ENCRYPTION ROUTINE
This is a strong encryption method based on a 4 number keys random number distribution .
The 4 (5 - digit) number keys provide strong encryption
protection due to message hashing that is provided on random number (s) generation where the inputed keys are used as random seeds .
Each user choosen key is randomized and message hash is produced with a different randomizing method .
Execution requires usage of the following command line switches:
eg r71 -a 11111 -b 22222 -c 33333 -d 44444 -e < filename to encrypt>
and to decrypt eg r71 -a 11111 -b 22222 -c 33333 -d 44444 -f < filename to decrypt>
where the numbers following the -a -b -c and -d switches are user chosen encryption 5 digit number keys.
|
1.1(min)... if(n=0||l==0){n=rs[l][1];continue;} if(minmv>rs[l][2]){minmv=rs[l][2];minl=l;} } } |
1.2(max)... if(n=0||l==0){n=rs[l][1];continue;} if(maxmv<rs[l][2]){maxmv=rs[l][2];maxl=l;} } } |
|---|---|
|
2.1(min)... if(n=0||l==0){n=rs[l][1];continue;} n=rs[l][1]; }else{n=0;} } |
2.2(max)... if(n=0||l==0){n=rs[l][1];continue;} n=rs[l][1]; }else{n=0;} } |
(1) Each of the entered key numbers resultant distribution series (3-133)*(3-7) according to these criteria are written in a 4 column table
#define op_A(w,x,y,z)(((((w&0x0000ffff)<<16)|x)&0xffff0000)|((((y&0x0000ffff)<<16)|z)&0x0000ffff))
(2) Each table is hashed according the bellow listed binary criteria
(3) The 4 resulting tables are then re-hashed using the same binary criteria.
#define op_B(w,x,y,z)(((((x&0x0000ffff)<<16)|w)&0xffff0000)|((((z&0x0000ffff)<<16)|y)&0x0000ffff))
#define op_E(w,x,y,z)(op_A(w,x,y,z)>op_B(w,x,y,z)?op_A(w,x,y,z):op_B(w,x,y,z))
One out of the 4 functions running inside this encryption was used in the
Game of life using 100x100 cells that outputs the generations data in a graphics BMP file format .
Download a game of life VRM 1.3.1 at 17.07.2007
and it states the diversity of random number distributions produced .

Try looping this encryption in the following way:
Step 1.C:\r7 -a <key1 number> -b <key2 number> -c <key3 number> -d <key4 number> -e "filename.txt"
Step 2.C:\r7 -a <key5 number> -b <key6 number> -c <key7 number> -d <key8 number> -e "previous_output.mar"
...
...
Step n.
and repeat it in the same manner n times until the desired security level is gained .
18.12.2007 VRM 1.3.3
Download
File r7.zip
MARIAHASH THE ENCRYPTION ROUTINE
This is a fast encryption routine using proprietary hashing method. Cypher strength depends on a large hashing number and password length . password text must be entered in a password.txt file and should have between 50 and 100 char(s) .This routine was written by the authors wish to try to improve message privacy while sent across the networks .
09.06.2007 VRM 1.3.0
Download
File 79923.zip
THE 123SQL DATABASE ENGINE
This is an undergoing project
aimed to construct a small portable SQL database engine for PDA's, and
this is a functional browsing engine that contains data and sample
browsing statements . Data may be imported together with table/column
creation . Typically the source data may be spreadsheet column TAB delimited
export data . Database/table/column creation may be viewed in the included
code following the -c switch . Table names and column names and field byte
sizes should be specified, but column/field lengths my also vary in size
row by row . The engine performs SQL keyword/syntax checking using the
syntax/keywords list files included . Object names check and object
attributes read is performed in the system database files named
123SQL_db_1.mar and 123SQL_db_2.mar . Database structure allows multiple
object browsing . The sorting/searching routines require low machine
resources thus meeting most modern PDA specifications and their sources
were also published under different names . {select} {*|column_name|column_name_1,...column_name_n} {from} {table_name|table_name_1,...table_name_n} [where |[column_name=string_litteral|column_name>string_litteral|column_name<string_litteral] |[column_name>string_litteral
and column_name<string_litteral] |[column_name[>|<]string_litteral and
column_name=string_litteral] |[column_name=string_litteral or
column_name=string_litteral or column_name=string_litteral] |[column_name>string_litteral
and column_name<string_litteral and column_name=string_litteral] ]
This project was founded on
the authors' unique relational database engine structure design . The
123SQL engine requires the following command line syntax:
E.g.:
C:\910791 -d "Sample"
for attaching and browsing the included
database, where Sample is the database name included . When
E.g.:
C:\910791 -c "import_data_file.txt"
the engine will create a
database table and table columns as specified in the included create.txt
syntax and import the data from the file name specified after the -c
switch . Number of column definitions and TAB delimited fields must match,
if specified column length is greater than data length space justification
will occur . Supported SQL like data browsing syntax is :
The MariaBasic Interpreter
The Maria Basic Interpreter is a command-line programming tool - interpreter aimed to help PDA users code
formula/calculations, string and file procedures that execute on their handhelds. The included source code may easily (re) compile for various OS/CPU architectures ,
since it was written in ISO/ANSI C and requres moderate machine resources . Interpreter design allows fast execution of basic syntax like procedures with calculations
and file/string operations. Its simplified syntax allows basic programming skills and may be used for learning , but may expand to execution of rather complex routines .
This interpreter allows basic like (simplified) syntax commands like nesting, statement loops, and conditional execution.
The ZIP archive ready for download includes a few txt files which are sample basic syntax supported nesting and file/string function example (s) .
Source procedures may execute with a command line stating:
E.g.: C:\mariaBasic -e "mb_305_sorting_1.txt".
The mb_305_arraylikecount_1.txt and mb_305_sorting_1.txt and dec2bin.txt example sources show the code structure necessary to supply for program execution .Supported routine code syntax is :
MariaBASIC 3.1.0.5 Coding Structure:
1. Coding convention (s)
1.1.Declarations:
<varname> is a <string literal> + <type declaration> = <initial value>
where
<string litteral> = {[_]|[a-z]|[A-Z]|[0-9]}
<type declaration> = {[%]|[&]|[#]|[$]}
where % stands for integer data type
where & stands for long integer data type
where # stands for double data type
where $ stands for char data type with <=256 bytes
<initial value> =
{
[<string constant> is a single quoted literal having [a-z]|[A-Z]|[0-9]]
|
[<num constant> is a number literal having [0-9]|[.]]
}
logical expression operators are [and]|[or]|[xor]
conditional expression operators are [>]|[<]|[=]|[>=]|[<=]|[<>]
1.2.Program body: Declaration(s) | Statement(s) | Logical expression(s) | Simple Block Statement(s) | Nested Statement(s) | End statement
1.2.1.Statement:
varname[%|&|#]=[[varname[%|&|#]|[<num constant>]][^,*,/,+,-][[varname[%|&|#]|[<num constant>]]
varname$=varname$+varname$
varname[%|&]=len$(varname$)
varname[%|&|#]=val$(varname$)
varname$=trim$(varname$)
varname$=left$(varname$,<num constant>)
varname$=right$( varname$,<num constant>)
varname$=mid$( varname$,<num constant>,<num constant>)
varname$=format$(varname+{[%|&|#]},<string constant>)
varname[%|&|#]=round$(varname#)
open varname$ for [input]|[output] as #<num constant>
input #<num constant>, varname$
print #<num constant>, [<string constant>| varname[%|&|#|$][,]][;]
close #<num constant>
print [<string constant>| varname[%|&|#|$][,]][;]
1.2.2.Logical expression:
varname[%|&]=(varname[%|&|#|$][=,<>,>,<,>=,<=]varname[%|&|#|$]
[and]|[or]|[xor]
[ varname[%|&|#|$][=,<>,>,<,>=,<=]varname[%|&|#|$])
1.2.3.Simple Block Statement:
{if (<conditional expression>) then}
<statement(s)>
{end if}
{while (<conditional expression>)}
<statement(s)>
{wend}
{for varname[%|&]=[[<num constant>]| varname[%|&]] to [<num constant>| varname[%|&]]}
<statement(s)>
{next varname[%|&]}
1.2.4.Nested Statement:
{if (<conditional expression>) then}
<statement(s)>
<simple block statement(s)>
{end if}
{while (<conditional expression>)}
<statement(s)>
<simple block statement(s)>
{wend}
{for varname[%|&]=[[<num constant>]| varname[%|&]] to [<num constant>| varname[%|&]]}
<statement(s)>
<simple block statement(s)>
{next varname[%|&]}
1.2.5.Comment(s):
rem <string constant>
1.3. End Statement:
{end}
MariaBasic, when (re)compiled on PDA's native compiler enables a simple but efficient programming PDA tool.
MariaBASIC for Pocket PC V3.0 (XScale ARM) 29.11.2011 VRM 3.2.1.1 Download file mariaBasic3211_ARM.zip
MariaBASIC 29.11.2011 VRM 3.2.1.1 Download file mariaBasic3211.zip
MariaBASIC (samples) 29.11.2011 VRM 3.2.1.1 Download file mariaBasic3211_samples.zip
rem
rem MariaBASIC
rem DayofWeek Function
rem 3.1.0.7
rem
rem ---------------------
rem start day of year 2011 , Saturday (day 6)
Sd%=5
rem ---------------------
Sdate$='26.04.2011'
Sm002$='0000000000000000000000000000000 '
Sm012$='0000000000000000000000000000000 '
Sml01%=31
Sm022$='0000000000000000000000000000000 '
Sml02%=28
Sm032$='0000000000000000000000000000000 '
Sml03%=31
Sm042$='0000000000000000000000000000000 '
Sml04%=30
Sm052$='0000000000000000000000000000000 '
Sml05%=31
Sm062$='0000000000000000000000000000000 '
Sml06%=30
Sm072$='0000000000000000000000000000000 '
Sml07%=31
Sm082$='0000000000000000000000000000000 '
Sml08%=31
Sm092$='0000000000000000000000000000000 '
Sml09%=30
Sm102$='0000000000000000000000000000000 '
Sml10%=31
Sm112$='0000000000000000000000000000000 '
Sml11%=30
Sm122$='0000000000000000000000000000000 '
Sml12%=31
St0$=''
St1$=''
St2$=''
St3$=''
St5$=' '
V1%=0
V2%=0
V3%=0
Vl%=0
Vm%=1
while (Vm%<=12)
rem ---------------------
if (Vm%=1) then
Vl%=Sml01%+0
rem print 'January'
end if
if (Vm%=2) then
Vl%=Sml02%+0
rem print 'February'
end if
if (Vm%=3) then
Vl%=Sml03%+0
rem print 'March'
end if
if (Vm%=4) then
Vl%=Sml04%+0
rem print 'April'
end if
if (Vm%=5) then
Vl%=Sml05%+0
rem print 'May'
end if
if (Vm%=6) then
Vl%=Sml06%+0
rem print 'June'
end if
if (Vm%=7) then
Vl%=Sml07%+0
rem print 'July'
end if
if (Vm%=8) then
Vl%=Sml08%+0
rem print 'August'
end if
if (Vm%=9) then
Vl%=Sml09%+0
rem print 'September'
end if
if (Vm%=10) then
Vl%=Sml10%+0
rem print 'October'
end if
if (Vm%=11) then
Vl%=Sml11%+0
rem print 'November'
end if
if (Vm%=12) then
Vl%=Sml12%+0
rem print 'December'
end if
rem ---------------------
rem print Vl%
for V1%=1 to Vl%
Sd%=Sd%+1
St1$=format$(Sd%,'0')
V3%=Vl%-1
St2$=mid$(Sm002$,2,V3%)
if (V1%>1) then
V2%=V1%-1
St1$=mid$(Sm002$,1,V2%)
St3$=format$(Sd%,'0')
St1$=St1$+St3$
V2%=V1%+1
V3%=Vl%-V2%
rem print V2%,' ',V3%
St2$=mid$(Sm002$,V2%,V3%)
end if
St1$=St1$+St2$
Sm002$=''
Sm002$=Sm002$+St1$+St5$
rem print Sm002$
if (Sd%=7) then
Sd%=0
end if
next V1%
rem ---------------------
if (Vm%=1) then
Sm012$=''
Sm012$=Sm012$+Sm002$
Sm002$=''
Sm002$=Sm002$+Sm022$
end if
if (Vm%=2) then
Sm022$=''
Sm022$=Sm022$+Sm002$
Sm002$=''
Sm002$=Sm002$+Sm032$
end if
if (Vm%=3) then
Sm032$=''
Sm032$=Sm032$+Sm002$
Sm002$=''
Sm002$=Sm002$+Sm042$
end if
if (Vm%=4) then
Sm042$=''
Sm042$=Sm042$+Sm002$
Sm002$=''
Sm002$=Sm002$+Sm052$
end if
if (Vm%=5) then
Sm052$=''
Sm052$=Sm052$+Sm002$
Sm002$=''
Sm002$=Sm002$+Sm062$
end if
if (Vm%=6) then
Sm062$=''
Sm062$=Sm062$+Sm002$
Sm002$=''
Sm002$=Sm002$+Sm072$
end if
if (Vm%=7) then
Sm072$=''
Sm072$=Sm072$+Sm002$
Sm002$=''
Sm002$=Sm002$+Sm082$
end if
if (Vm%=8) then
Sm082$=''
Sm082$=Sm082$+Sm002$
Sm002$=''
Sm002$=Sm002$+Sm092$
end if
if (Vm%=9) then
Sm092$=''
Sm092$=Sm092$+Sm002$
Sm002$=''
Sm002$=Sm002$+Sm102$
end if
if (Vm%=10) then
Sm102$=''
Sm102$=Sm102$+Sm002$
Sm002$=''
Sm002$=Sm002$+Sm112$
end if
if (Vm%=11) then
Sm112$=''
Sm112$=Sm112$+Sm002$
Sm002$=''
Sm002$=Sm002$+Sm122$
end if
if (Vm%=12) then
Sm122$=''
Sm122$=Sm122$+Sm002$
Sm002$=''
end if
rem ---------------------
Vm%=Vm%+1
wend
rem ---------------------
Sdd$=''
Sdd$=mid$(Sdate$,1,2)
Smm$=''
Smm$=mid$(Sdate$,4,2)
V1%=val$(Smm$)
V2%=val$(Sdd$)
rem ---------------------
if (V1%=1) then
Sm002$=''
Sm002$=Sm002$+Sm012$
end if
if (V1%=2) then
Sm002$=''
Sm002$=Sm002$+Sm022$
end if
if (V1%=3) then
Sm002$=''
Sm002$=Sm002$+Sm032$
end if
if (V1%=4) then
Sm002$=''
Sm002$=Sm002$+Sm042$
end if
if (V1%=5) then
Sm002$=''
Sm002$=Sm002$+Sm052$
end if
if (V1%=6) then
Sm002$=''
Sm002$=Sm002$+Sm062$
end if
if (V1%=7) then
Sm002$=''
Sm002$=Sm002$+Sm072$
end if
if (V1%=8) then
Sm002$=''
Sm002$=Sm002$+Sm082$
end if
if (V1%=9) then
Sm002$=''
Sm002$=Sm002$+Sm092$
end if
if (V1%=10) then
Sm002$=''
Sm002$=Sm002$+Sm102$
end if
if (V1%=11) then
Sm002$=''
Sm002$=Sm002$+Sm112$
end if
if (V1%=12) then
Sm002$=''
Sm002$=Sm002$+Sm122$
end if
rem ---------------------
St$=''
St$=mid$(Sm002$,V2%,1)
V1%=val$(St$)
rem ---------------------
if (V1%=1) then
print Sdate$,' ','Monday
'
end if
if (V1%=2) then
print Sdate$,' ','Tuesday'
end if
if (V1%=3) then
print Sdate$,' ','Wednesday'
end if
if (V1%=4) then
print Sdate$,' ','Thursday'
end if
if (V1%=5) then
print Sdate$,' ','Friday'
end if
if (V1%=6) then
print Sdate$,' ','Saturday'
end if
if (V1%=7) then
print Sdate$,' ','Sunday'
end if
rem ---------------------
end

rem --------------------
rem MariaBASIC
rem Number Permutation Cycle Function (ASCII Text Rhymes)
rem 3.2.0.3
rem --------------------
Vars1$='1234567890 '
Vars2$=''
Vars3$=''
Vars4$=''
Vars5$=''
rem 1. run Vars6$='1111111111 '
rem run 1. resulting file
011120
058139
012370
038036
013938
028263
rem 2. run arg=011+058+012+0
Vars6$='0110580120 '
rem run 2. resulting file
001106
005786
001231
003785
001387
002812
Vars7$=''
Vars8$=''
Vars9$='n.txt'
Vars10$=''
Vari1%=0
Vari2%=10
Vari3%=0
Vari4%=0
Vari5%=0
Vard1#=0
Vard2#=0
Vard3#=0
Vard4#=0
Vard5#=0
Vard6#=0
rem --------------------
for Vari1%=1 to 9
Vari3%=Vari2%-Vari1%
Vars3$=mid$(Vars1$,Vari3%,1)
Vars4$=mid$(Vars1$,Vari1%,1)
Vars2$=Vars2$+Vars3$+Vars4$
next Vari1%
print Vars2$
rem --------------------
open Vars9$ for output as #1
VariL%=9
while (VariL%>3)
Vars5$=''
for Vari1%=1 to VariL%
Vari3%=Vari2%-VariL%
Vars3$=mid$(Vars2$,Vari3%,1)
Vars4$=mid$(Vars2$,Vari1%,1)
Vars5$=Vars5$+Vars3$+Vars4$
next Vari1%
if (Vari5%=1) then
print Vars5$
end if
Vars7$=mid$(Vars5$,1,5)
rem --------------------
Vard5#=val$(Vars7$)
Vard6#=val$(Vars6$)
rem --------------------
if (Vari5%=1) then
print Vard6#,Vard5#
end if
Vard1#=Vard6#/Vard5#
Vars8$=format$(Vard1#,'000000.00')
print Vars8$
Vars10$=mid$(Vars8$,1,3)
print #1,Vars10$;
Vars10$=mid$(Vars8$,4,3)
print #1,Vars10$
VariL%=VariL%-1
wend
end
The Eleven Comedies , an english translation of Aristophanes et al Comedies (from Project Gutenberg eBook)
Part 1 , chart 1 ,

and chart 2 from Part 2 generated by num_c_perm_2.cpp .

War and Peace , an english translation of Tolstoy (from Project Gutenberg eBook) permutation chart generated by num_c_perm_2.cpp .

The Notebooks of Leonardo Da Vinci , an english translation of Leonardo Da Vinci (from Project Gutenberg eBook) permutation chart generated by num_c_perm_2.cpp .

THE FAST (ASCII and Unicode) TEXT FILES SEARCH ROUTINE
This
is a fast text search routine that allows single (or quoted composite) string search throughout an
ASCII or Unicode text (text containing) file(s) . Unicode search will also allow strings containing mixtures of different Unicode table(s).
E.g.:
1. (ASCII search) msearch3 <ASCII_input_filname.txt> <search_string>
2. (Unicode search) msearch3 <Unicode_input_filname.txt>
(search string in Unicode file uarg.txt and search results in Unicode file ures.txt)
03.07.2008 VRM 1.1.1
Download File msearch3.zip
THE FAST ASCII TEXT FILES SEARCH ROUTINE
This
is a fast text search routine that allows multi string (up to
10 search strings containing one or more words within) search throughout an
ASCII text file . So, each search string (quoted) may have one or more words. The -s switch allows any match, while the -e switch allows only exact match.
E.g.: C:\msearch -s(-e) "package install"+"media"+"component"
-f "FreeBSD Handbook.htm"
E.g.: C:\msearch -s(-e) "network devices installation" -f "FreeBSD Handbook.htm"
E.g.:C:\msearch -s(-e) "trodes in his hands" -f "book_sd.txt"
E.g.:C:\msearch -s(-e) "Bezukhov and Natasha"+"Buonaparte Napoleon"+"Pierre" -f "War_and_Peace_NT.txt"
The program output will display all results along with their line
number file positions, the unique and composite sentence search phrase
matches together with their total occurrence count.
15.04.2008 VRM 1.3.3
Download File msearch.zip
09.04.2010 VRM 1.4.1
Download File msearch_141_1.zip
THE ASCII TEXT FILES SENTENCE CONTEXT SEARCH ROUTINE
This
is a text file complex search routine that allows text search build on the context - sentence words concerning a given subject .
This search allows automated search criteria build depending on sentence words contents and user choice . Sentence words files
and their sentence links are built during the indexing phase for a given text file . After indexing, the routine will
display all sentences for a chosen sentence subject (as enlisted in the words file) and allow detailed context search and
all sentences display concerning the chosen context . 15.04.2008 VRM 1.3.0
Download File r113.zip 28.04.2010 VRM 2.0.1
Download File text_file_context_search_201_1.zip
For the indexing type:E.g.: C:\dp_13_201_1 -f "War_and_Peace_NT.txt"
For the context search type:E.g.: C:\msearch_141_d_1 -s(e) "Bagration" -f "War_and_Peace_NT.txt"
The -s switch enables any match search when d was chosen, and -e switch enables only exact word match.
The included files contain the examples book already indexed. Typically the search word is a name, or a subject
that is being often described and attributed in the book text . So after viewing/choosing the desired sentence/search combination
all text lines containing the chosen words will be displayed . Thus viewing book contents by desired subject details requires smaller
amount of time .
THE FONT IMAGE RECOGNITION ROUTINE
This
routine creates a vector shape sequence file (using -i switch) out of an 100x100 pixels 24 bit colour depth black and white image representing
a character true type image (font) or character freehand drawing . Then using the -c switch the two index files derived from
two different images are compared and graphics match result is displayed . 27.04.2007 VRM 1.0.1
Download File cr13.zip
For the indexing type:
E.g.: C:\cr13 -i "Drawing1.bmp" "Drawing1_Index.txt"
For the comparison of two different index files type:
E.g.: C:\cr13 -c "Drawing1_Index.txt" "Drawing2_Index.txt"
At present the routine builds shape vectors on black/white bitmaps, it does not support different resolution nor colors/color depth.
But how does it work?
(1) indexing, creates vector txt file (that might be the meta character file) out of the bmp image file in the following manner:
- inverts the b/w file matrix (the way human eye sees it),
- searches for quadrants (10x10 pixels sized) with 40/60% b/w ratio, thus finding character image edges (up to 8 pairs in the same row),
- creates vectors out of each quadrant,
- shifts quadrants by (only) few pixels UP since bmp edges do not always REALLY represent character ID curves, repeating vector creation ...
and
(2) comparison of two vector files:
- shifts back all X-axis values subtracting them by absolute minX value,
- computes curve angles out of each quadrant values,
- computes resultant angles out of quadrant pairs building most real character curves,
- compares the two vector files angle pairs,
- computes match statistics .
This development is aimed for PDA users using easier ways for text input.
To Maria Dzinleska
THE ROUTINE THAT GENERATES THE PRIME NUMBERS KEY PAIR OUT OF THEIR PRODUCT
These routines were written during and for the www.rsa.com prime key numbers context that requires finding the exact prime numbers key pair out of a very large (256,512...1024... bits long) product number. The routines were written in java and use the BIGINTEGER java class in order to compute the prime key pair .The starting point routine finds a prime numbers key pair with product_number_bit_length/2 bit length that give sufficient accuracy (near as far as possible) to the product number, the more the preciseness the more the computing time to spend . So the loop that computes the suggested starting prime number pair is limited with the corresponding number of equal product-target significant digits . The remaining procedures consequently perform a very long (all 1's and trailing ZEROS) 111 ... *10^N substraction (s) from the suggested key pair measuring the distance (difference) from the target product number by subsequent multiplication checks . At the point of diverging found and at a certain preciseness (number of equal significant digits) a new key pair may be generated through the first routine . Than the process has to be repeated while gaining more and more equal product-target significant digits .
23.07.2006 Download File Welcome.zip
How do these computations compute a very similar or near prime key pair out of a large product key?
Exmining the bellow listed mariBasic code and its (partial) output shows
a few number products appearing at large division loop distances and having a 0000 period between decimal remainder values . Testing those (listed) numbers might prove that most of them are
prime numbers . Testing large (200 decimal or more) product keys in this way would take indefinite time . So, the WelcomeQ routine uses a substraction operation on a proposed prime key pair .
The routine that generates prime key pairs that have a given decimal target product number match is based on a binary field seed number modification basing only on target match numbers as match search loop starting point .
The substractor (having the (decimal) value of e.g. 1111111111000000000000000) shifts the 1111111111 period to the right by approoving that this way truncated prime key pair product matches more and more
decimals to the target product number . Actually there are sets of prime kepairs obtaining a certain decimal match .Usually it is necessay to switch between different pairs in order to increase the decimal match of the product .
And that is the main iteration of this method sometimes requiring examining and rejecting large number of prime key pairs in order to gain one or more decimal match more . Gaining a 100 decimals precisenes on a common PC computer thus would not be hard to achieve .
These computations generate prime keys having computable decimal match gain or complete product number match compared to a given huge product number .
Brief order and explanation of execution steps:
(1) generate 5 or more (depending on computing resources) decimal match places vs known target number prime key pairs (number of generated pairs also depends on computing resources)
(2) start subtracting by a given number of decimal 1 .... 1x10^X and multiplying each of primes in a key pair observing gain or loss in decimal match at product number vs target number . Observe match gain vs number of 1 ... 1 and X in 10^X in the subtraction factor . Thus prime distribution at that number point becomes visible .
(3) choose a prime probe as a base for generating new sets (depending on computing resources) of prime key pairs gaining usually somewhat less decimal match places at product number vs target number .
(4) iterate through the previos steps seeking a point at the prime distribution which indicates the existence of the absolute match key pair .
var1%=0
var2%=1234567
var3%=0
var5%=2
var6%=0
var7#=0
var8&=0
var9%=0
var10%=10000
var191%=0
var111#=0
var19%=10000
var11%=17317
var123%=91127
var13%=13009
var145%=98017
var15%=12251
var162%=98327
var17%=33757
var3%=var2%/2
while(var5%<var3%)
var7#=var10%*var2%/var5%
var8&=var2%/var5%
var8&=var7#-var8&*var10%
if var8&=0 then
print "=";
print var5%;
print "@";
print var7#;
print " ",var191%
var191%=0+0
end if
var191%=var191%+1
var5%=var5%+1
wend
end
=205759@6.000063e+04 1
=205760@6.000034e+04 1
=205761@6.000005e+04 1
=246909@5.000089e+04 41148
=246910@5.000069e+04 1
=246911@5.000049e+04 1
=246912@5.000028e+04 1
=246913@5.000008e+04 1
=308635@4.000087e+04 61722
=308636@4.000075e+04 1
=308637@4.000062e+04 1
=308638@4.000049e+04 1
=308639@4.000036e+04 1
=308640@4.000023e+04 1
=308641@4.000010e+04 1
=411509@3.000097e+04 102868
=411510@3.000090e+04 1
=411511@3.000083e+04 1
=411512@3.000075e+04 1
=411513@3.000068e+04 1
=411514@3.000061e+04 1
=411515@3.000053e+04 1
=411516@3.000046e+04 1
=411517@3.000039e+04 1
=411518@3.000032e+04 1
=411519@3.000024e+04 1
=411520@3.000017e+04 1
=411521@3.000010e+04 1
=411522@3.000002e+04 1
Dzinleski Jasenko - jasenko@unet.com.mk
Mailing
Address:
+38922770296
Dositej Obradovik 15/8
1000
Skopje Republic of Macedonia
(1) All
published data, executables and sources from this site
described above apply to GNU General Public License and can be
used, copied, sold, redistributed or used in any other way only
by written permission of Jasenko Dzinleski . Copyright (C)
from 2001 - 2011 and later by Jasenko Dzinleski
(2) This program is free software;
you can redistribute it and/or modify it under the terms of the
GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your
option) any later version , if not opposite to (1) .
(3) This program is distributed in
the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE . See the GNU General Public License
for more details .
You should have received a copy of the
GNU General Public License along with this program; if not,
write to the Free Software Foundation, Inc ., 51 Franklin
Street, Fifth Floor, Boston, MA 02110-1301, USA .