Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. christioan

    Using the ID3 - decision-tree

    I implemented a ID3-algorithm in Prolog. I have following attributes: genre: action, komödie, thriller, comic actor: snips, willis, carrey dtt: dvd, vhs zustellung: normal, express If I use my ID3-algorithm I will get the following result: tree(internal(action), [komödie-tree(internal(dvd)...
  2. christioan

    split a string

    Hello! Good idea! I had nearly the same idea, but than I get a problem! The first part is clear, but how can I return the char-list between the first and the second space-sign? Perhaps it's easy, but I don't know if it will be possible to save variables in Prolog!!! Thx for your help!
  3. christioan

    split a string

    Have you ever tried to realize the "splitting-problem" in SWI-Prolog? I tried your tip, but this version of prolog doesn't have the predicate "string_split"!! In every other programming-language I would search the "space-signs" in the string and copy the parts...
  4. christioan

    split a string

    How can I split a string? For example: '123 abc 456' And now I want to split this string at the SPACE-Signs into 3 strings and save them in 3 different variables! Thanks!
  5. christioan

    Saving

    start:- initialisierung, menue, terminierung. initialisierung:- titel, retractall(wahl(_)), asserta(wahl(kunde(_))), write_ln('Load Database...'), tab(2), consult('c:/frkunden.pl'), nl. titel:- write_ln('****************'), write_ln('* Rent a Video *')...
  6. christioan

    lists

    To Pimi: Thanks for the quick answer.
  7. christioan

    lists

    How can I create lists and how can I work with them(save new informations in them, search in them)? Please help, it's important!!!!

Part and Inventory Search

Back
Top