Search found 13 matches

by Jason_6
14 Jan 2016 12:47
Forum: Visual Prolog
Topic: socket project to 7.4
Replies: 10
Views: 8127

Re:

Thomas Linder Puls wrote:It is not precise because you should not press the mentioned menu command.
Dear Thomas,
Sorry for the previous image provided by me, I update the image as my new attachment.My quesyion is still that I can't find File|Start Server menu command.
Thanks for your patience!
by Jason_6
14 Jan 2016 12:31
Forum: Visual Prolog
Topic: socket project to 7.4
Replies: 10
Views: 8127

Re:

It is outside our scope to create C/C++ code. Of course, you're absolutely right. However, your example "Socket Demo" demonstrates how java and prolog can work together. So do you also have some examples (e.g. prolog with C/C++ )provided by the third Party, which will help me a lot. Milli...
by Jason_6
14 Jan 2016 12:27
Forum: Visual Prolog
Topic: socket project to 7.4
Replies: 10
Views: 8127

Re:

Thomas Linder Puls wrote:It is not precise because you should not press the mentioned menu command.
So could you tell me how to initialize server please, because I don't know how to use this demo in right way. How can I kown my customed "Mystring" has transfered from server to the client? Thanks! :wink:
by Jason_6
14 Jan 2016 12:05
Forum: Visual Prolog
Topic: socket project to 7.4
Replies: 10
Views: 8127

Re:

without the need to invoke a menu item Thanks.However,in the socket Demo provided by your website http://www.visual-prolog.com/vip/example/userExample/socket/socket.htm the procedure recommended by author (maybe not by you, but Created by INTECH Software Solutions, Inc.) about How to Operate This D...
by Jason_6
14 Jan 2016 9:09
Forum: Visual Prolog
Topic: socket project to 7.4
Replies: 10
Views: 8127

Re:

I am not sure if I get the details with different versions of this and that. But I have updated the socket demo to Vip 7.4. How about the latest vp 7.5 CE? As mentiond in socket demo , in How to Operate This Demo, Open the Prolog_server and initialize server by File|Start Server menu command.Run Pr...
by Jason_6
21 Jan 2015 1:15
Forum: Visual Prolog
Topic: how to remove duplicates of facts ?
Replies: 16
Views: 11269

Millions of thanks!!

Millions of thanks!!
Thank Martin and Markov again for your wonderful solutions in difrrent views, which help me a lot! 8-) :wink:

Of course,other ideas are always welcome!
by Jason_6
21 Jan 2015 1:14
Forum: Visual Prolog
Topic: Visual prolog with Machine Learning
Replies: 1
Views: 2568

Visual prolog with Machine Learning

Hi,guy!
Actually,I wish to learn from some references or some sample projects,
which combine the visual prolog with Machine Learning,
could anybody give me a hand?
Thanks in advance. :-)
by Jason_6
19 Jan 2015 15:39
Forum: Visual Prolog
Topic: how to remove duplicates of facts ?
Replies: 16
Views: 11269

how to remove duplicates of facts ?

1> How to remove duplicates of [ facts ] instead of list? list::removeDuplicates/1-> removeDuplicates : (Elem* List) -> Elem* Rest. list::sort/2-> sort : ( Elem* List, sortOrder Order) -> Elem* Sorted. which are both not exactly what I want. 2> Moreover,after removing duplicates of facts , could you...
by Jason_6
17 Jan 2015 4:52
Forum: Visual Prolog
Topic: how to get .txt file coded by ANSI ,not by Unicode by default?
Replies: 2
Views: 2712

Got a solution!

:idea: :idea: :idea: Guys,today I find a function, file::save/3 save : ( string FileName, factDB FactSection, boolean IsUnicodeFile). I used to use file::save/2 until I find file::save/3 . So , I add an argument ,it'll be ok. Thanks all the same. welcome to other solutions to out txt file coded in A...
by Jason_6
16 Jan 2015 14:44
Forum: Visual Prolog
Topic: how to get .txt file coded by ANSI ,not by Unicode by default?
Replies: 2
Views: 2712

how to get .txt file coded by ANSI ,not by Unicode by default?

By prolog's built-in function file::save("DataBaseDB.txt", DataBaseDB) we could save class facts which we want to "DataBaseDB.txt". The .txt file coded by **Unicode** by default. So, could we get .txt file coded by **ANSI** or else by some configures or use some codes in Prolog i...
by Jason_6
9 Jan 2015 15:47
Forum: Visual Prolog
Topic: 7.4 & 7.5 PE is OK, 7.1 & 7.3 codes are black blocks.
Replies: 1
Views: 2390

7.4 & 7.5 PE is OK, 7.1 & 7.3 codes are black blocks.

Hi,guys! There is something wrong with my codes' showing.(as shown in my attchment) In Visual prolog 7.4 & 7.5 PE, it is OK, however,in VIP 7.1 & 7.3, codes are black blocks,which can't be read and edited. I'm confused, could you tell me why and how to solve it? P.S:My OS information------Wi...
by Jason_6
5 Jan 2015 5:24
Forum: Visual Prolog
Topic: [error code = 302], The value '-1' is not in range [-1 .. 1] of the domain 'math::inCircle'
Replies: 2
Views: 3019

I believe it must be because then mentioned "1" and "-1" are actually slightly out of range (i.e like 1.000000...00000003). You can deal with such inaccuracy like this: if EE > 1 then Angle = 0 elseif EE < -1 then Angle = math::pi else Angle = math::arccos(convert(math::inCircle...
by Jason_6
4 Jan 2015 14:53
Forum: Visual Prolog
Topic: [error code = 302], The value '-1' is not in range [-1 .. 1] of the domain 'math::inCircle'
Replies: 2
Views: 3019

[error code = 302], The value '-1' is not in range [-1 .. 1] of the domain 'math::inCircle'

Thank you for considering my query! :-) I make a program to help robot get his localization by himself. In my program, with robot's localization by 2D-coordinates, I try to reason which polygon area my known node belongs to , by summing all included angles to find whether the sum value is equal to 2...