Search found 67 matches

by Vitaly Markov
2 Jul 2018 21:26
Forum: Visual Prolog
Topic: Algorithm of string:: hash?
Replies: 7
Views: 5218

Re: Algorithm of string:: hash?

Thomas, thanks for the valuable information! My idea - to write the fast and simple hash-function focused on national texts (separately or together). The cycle of the algorithm murmur contains 8 commands (for 32/64-bit): 3 mul + 1 add + 2 rol + 2 xor (according wiki) The cycle of the my function con...
by Vitaly Markov
1 Jul 2018 13:55
Forum: Visual Prolog
Topic: Algorithm of string:: hash?
Replies: 7
Views: 5218

Re: Algorithm of string:: hash?

Thanks.
But I want to compare computing complexity of my hash-function and library function string::hash.
by Vitaly Markov
29 Jun 2018 17:08
Forum: Visual Prolog
Topic: Algorithm of string:: hash?
Replies: 7
Views: 5218

Algorithm of string:: hash?

What algorithm is used by function string::hash?
by Vitaly Markov
15 Oct 2017 17:10
Forum: Visual Prolog
Topic: project goal
Replies: 14
Views: 2240

Edit a clause:

Code: Select all

run() :-     generate_top,!;     console::write("Error").
by Vitaly Markov
10 Oct 2017 19:07
Forum: Visual Prolog
Topic: facts database in vp8
Replies: 24
Views: 3782

It is not necessary to specify the database end:

Code: Select all

implement backend % open fileSelector, core class facts - backend_dbase ...   clauses
by Vitaly Markov
19 Oct 2016 16:25
Forum: Visual Prolog
Topic: Modern logic programming in Visual Prolog 7.5 Russian Publication
Replies: 7
Views: 2764

Thank you, Thomas.
by Vitaly Markov
18 Oct 2016 13:54
Forum: Visual Prolog
Topic: Modern logic programming in Visual Prolog 7.5 Russian Publication
Replies: 7
Views: 2764

Hi, Thomas! I have placed the reference to the textbook in wikiru: http://wikiru.visual-prolog.com And I will be very glad if you place the reference in http://wiki.visual-prolog.com/index.php?title=Category:Books#Books_in_Other_Languages It is original reference: Марко...
by Vitaly Markov
17 Oct 2016 19:25
Forum: Visual Prolog
Topic: Modern logic programming in Visual Prolog 7.5 Russian Publication
Replies: 7
Views: 2764

Thank you Ian.
I will mean.
by Vitaly Markov
16 Oct 2016 9:40
Forum: Visual Prolog
Topic: Modern logic programming in Visual Prolog 7.5 Russian Publication
Replies: 7
Views: 2764

Hello Ian I am the author of this textbook. The book is intended for beginners, students and teachers and has support at Russian prolog-forum http://www.hardforum.ru/f141/ . 1) Version VIP 8.0 release can be during translation of the textbook into English. Therefore the book will become outdated. 2)...
by Vitaly Markov
15 Aug 2016 16:02
Forum: Visual Prolog
Topic: IDE Toolbar Buttons Unresponsive
Replies: 6
Views: 10286

The described problem was and is for VIP5.x (Win XP) and VIP7.x (Win 10).
I could not define the reason of a problem within last ~17 years .
The Turbo Prolog 2.x had no such problem :)
by Vitaly Markov
11 May 2016 16:13
Forum: Visual Prolog
Topic: PROBLEM! Exception: expectedChar (runtime_exception)
Replies: 6
Views: 4091

I have assumed that you are my student who writes a similar academic project. I was mistaken. Apparently you are not my student. :) However I am ready to help you. Send me your project on mail. Or describe a problem at a Russian-speaking forum http://www.hardforum.ru/f141/ We necessarily will help y...
by Vitaly Markov
9 May 2016 21:00
Forum: Visual Prolog
Topic: PROBLEM! Exception: expectedChar (runtime_exception)
Replies: 6
Views: 4091

To come to me on Wednesday (K-192). I will help.
by Vitaly Markov
30 Nov 2015 19:12
Forum: Visual Prolog
Topic: Simple list head rest split syntax
Replies: 6
Views: 3635

Code: Select all

class facts     filename:(string,string,string,string,core::string_list).   clauses    somePred():-     filename(CurrentName,_,_,_,[Head|_]),     console::write(CurrentName," ",Head),console::nl().
by Vitaly Markov
17 Jun 2015 18:18
Forum: Visual Prolog
Topic: Additional function in the class redBlackTree
Replies: 2
Views: 2438

Thomas, thanks for the detailed answer. The sign on results of the test is obvious before the test: insert is better without tree updating, insert1 is better at tree updating. Anyway, thanks for the test. I did not suggest to replace standart insert. I have offered idea for improvement of redBlackTr...
by Vitaly Markov
16 Jun 2015 17:37
Forum: Visual Prolog
Topic: Additional function in the class redBlackTree
Replies: 2
Views: 2438

Additional function in the class redBlackTree

Greetings Thomas I offer additional function for the class redBlackTree. The predicate redBlackTree::insert rewrites an element in the unique rbt if this element exist. It would be desirable to rewrite elements only in case of the success of some condition. Such feature is very useful to realisation...