Changeset 4541 for trunk/examples

Show
Ignore:
Timestamp:
10/28/08 04:36:35 (2 months ago)
Author:
pmoura
Message:

Corrected funny typo regarding adapted examples origin information.

Location:
trunk/examples
Files:
22 modified

Legend:

Unmodified
Added
Removed
  • trunk/examples/birds/descriptors.lgt

    r365 r4541  
    88        date is 2000/2/18, 
    99        comment is 'Bird descriptors predicates.', 
    10         source is 'Example adopted from an Amzi! Inc Prolog book.']). 
     10        source is 'Example adapted from an Amzi! Inc Prolog book.']). 
    1111 
    1212 
  • trunk/examples/birds/expert.lgt

    r2111 r4541  
    99        date is 2005/3/6, 
    1010        comment is 'Expert system for bird identification.', 
    11         source is 'Example adopted from an Amzi! Inc Prolog book.']). 
     11        source is 'Example adapted from an Amzi! Inc Prolog book.']). 
    1212 
    1313 
  • trunk/examples/birds/NOTES.txt

    r4507 r4541  
    1313 
    1414This folder contains an example of a bird identification expert system  
    15 adopted with permission from the book "Adventure in Prolog" by Amzi! inc.  
     15adapted with permission from the book "Adventure in Prolog" by Amzi! inc.  
    1616The book is available on-line in HTML format at the URL: 
    1717 
  • trunk/examples/complements/NOTES.txt

    r4526 r4541  
    1717 
    1818The complemented objects need to be compiled with the flag "complements"  
    19 switched on. This is a less than ideal solution that was adopted in order  
     19switched on. This is a less than ideal solution that was adapted in order  
    2020to both improve performance of code that doesn't use complementing categories  
    2121and to provide a solution for preventing the use of complementing categories  
  • trunk/examples/dcgs/NOTES.txt

    r4507 r4541  
    4747        directives to declare grammar rule non-terminals 
    4848 
    49 This folder contains an example ("tokenizer") adopted with permission from  
     49This folder contains an example ("tokenizer") adapted with permission from  
    5050a Michael A. Covington example (http://www.ai.uga.edu/~mc/). See the file  
    5151"tokenizer.lgt" for more details. 
    5252 
    53 This folder contains two examples of DCGs ("bom" and "faa") adopted with  
     53This folder contains two examples of DCGs ("bom" and "faa") adapted with  
    5454permission from the Amzi! Prolog documentation. The documentation is  
    5555available on-line in HTML format at the URL: 
  • trunk/examples/lo/NOTES.txt

    r4507 r4541  
    1010 
    1111 
    12 The examples in this folder are adopted from the Logic&Objects system 
     12The examples in this folder are adapted from the Logic&Objects system 
    1313by Francis G. McCabe.   Detailed descriptions and the original source  
    1414code can be found on the McCabe's "Logic and Objects" book, published  
  • trunk/examples/lo/planner/planner.lgt

    r2374 r4541  
    1010        comment is 'Air-line trip planner.', 
    1111        parnames is ['Mode'], 
    12         source is 'Example adopted from the Francis G. McCabe L&O documentation.']). 
     12        source is 'Example adapted from the Francis G. McCabe L&O documentation.']). 
    1313 
    1414    :- public(from/3). 
  • trunk/examples/lo/travellers/salesman.lgt

    r2376 r4541  
    77        date is 2000/4/22, 
    88        comment is '.', 
    9         source is 'Example adopted from the Francis G. McCabe L&O documentation.']). 
     9        source is 'Example adapted from the Francis G. McCabe L&O documentation.']). 
    1010 
    1111    :- public(route/2). 
     
    2424        date is 2000/4/22, 
    2525        comment is '.', 
    26         source is 'Example adopted from the Francis G. McCabe L&O documentation.']). 
     26        source is 'Example adapted from the Francis G. McCabe L&O documentation.']). 
    2727 
    2828    route([Town| Towns], Route) :- 
     
    8282        date is 2000/4/22, 
    8383        comment is '.', 
    84         source is 'Example adopted from the Francis G. McCabe L&O documentation.']). 
     84        source is 'Example adapted from the Francis G. McCabe L&O documentation.']). 
    8585 
    8686    route([Town| Towns], Route) :- 
     
    155155        date is 2000/4/22, 
    156156        comment is '.', 
    157         source is 'Example adopted from the Francis G. McCabe L&O documentation.']). 
     157        source is 'Example adapted from the Francis G. McCabe L&O documentation.']). 
    158158 
    159159    :- uses(quick(_)). 
     
    192192        date is 2000/4/22, 
    193193        comment is '.', 
    194         source is 'Example adopted from the Francis G. McCabe L&O documentation.']). 
     194        source is 'Example adapted from the Francis G. McCabe L&O documentation.']). 
    195195 
    196196    route(Towns, Route) :- 
     
    233233        date is 2000/4/22, 
    234234        comment is '.', 
    235         source is 'Example adopted from the Francis G. McCabe L&O documentation.']). 
     235        source is 'Example adapted from the Francis G. McCabe L&O documentation.']). 
    236236 
    237237    route(Towns, Route) :- 
  • trunk/examples/lo/travellers/sorting.lgt

    r2376 r4541  
    88        parnames is ['Order'], 
    99        comment is '.', 
    10         source is 'Example adopted from the Francis G. McCabe L&O documentation.']). 
     10        source is 'Example adapted from the Francis G. McCabe L&O documentation.']). 
    1111 
    1212    :- public(sort/2). 
     
    4444        date is 2000/4/22, 
    4545        comment is '.', 
    46         source is 'Example adopted from the Francis G. McCabe L&O documentation.']). 
     46        source is 'Example adapted from the Francis G. McCabe L&O documentation.']). 
    4747 
    4848    :- public(less/2). 
     
    6161        date is 2000/4/22, 
    6262        comment is '.', 
    63         source is 'Example adopted from the Francis G. McCabe L&O documentation.']). 
     63        source is 'Example adapted from the Francis G. McCabe L&O documentation.']). 
    6464 
    6565    :- public(less/2). 
     
    7979        parnames is ['OX', 'OY'], 
    8080        comment is '.', 
    81         source is 'Example adopted from the Francis G. McCabe L&O documentation.']). 
     81        source is 'Example adapted from the Francis G. McCabe L&O documentation.']). 
    8282 
    8383    :- public(less/2). 
     
    141141        comment is '.', 
    142142        parnames is ['Town'], 
    143         source is 'Example adopted from the Francis G. McCabe L&O documentation.']). 
     143        source is 'Example adapted from the Francis G. McCabe L&O documentation.']). 
    144144 
    145145    :- public(less/2). 
  • trunk/examples/lo/travellers/towns.lgt

    r2376 r4541  
    88        parnames is ['X', 'Y'], 
    99        comment is '.', 
    10         source is 'Example adopted from the Francis G. McCabe L&O documentation.']). 
     10        source is 'Example adapted from the Francis G. McCabe L&O documentation.']). 
    1111 
    1212    :- public(at/2). 
  • trunk/examples/lpa/faults/faults.lgt

    r2373 r4541  
    88        date is 2000/4/22, 
    99        comment is 'Expert system for automobile fault diagnosis.', 
    10         source is 'Example adopted from the LPA Prolog++ documentation.']). 
     10        source is 'Example adapted from the LPA Prolog++ documentation.']). 
    1111 
    1212    :- public(findall/0). 
  • trunk/examples/metapredicates/metapredicates.lgt

    r3013 r4541  
    11 
    2 % example adopted from: 
     2% example adapted from: 
    33% Programming Language Prolog Part 2, Modules 
    44% Committee Draft - January 14, 1998 X3J17/97/5 
     
    3131 
    3232 
    33 % sort code adopted from an example on the SICStus Prolog User Manual 
     33% sort code adapted from an example on the SICStus Prolog User Manual 
    3434% meta-predicate example taken from Prolog Part 2, Modules - Committee Draft 
    3535 
  • trunk/examples/NOTES.txt

    r4507 r4541  
    2626You may want to restart Logtalk after trying each example. 
    2727 
    28 Some of the examples have been adopted from public available Prolog code  
     28Some of the examples have been adapted from public available Prolog code  
    2929or from known Prolog text books and are copyrighted by the respective  
    3030authors. 
     
    6565birds 
    6666    bird identification expert system 
    67     (example adopted from the Adventure in Prolog Amzi! book) 
     67    (example adapted from the Adventure in Prolog Amzi! book) 
    6868 
    6969bottles 
     
    137137 
    138138lo 
    139     examples adopted from the Francis G. McCabe L&O system 
     139    examples adapted from the Francis G. McCabe L&O system 
    140140 
    141141logging 
     
    148148 
    149149lpa 
    150     examples adopted from the LPA Prolog++ system 
     150    examples adapted from the LPA Prolog++ system 
    151151 
    152152metapredicates 
     
    180180 
    181181poem 
    182     examples adopted from the Ben Staveley-Taylor POEM system 
     182    examples adapted from the Ben Staveley-Taylor POEM system 
    183183 
    184184points 
    185     example adopted from SICStus Objects documentation; defines  
     185    example adapted from SICStus Objects documentation; defines  
    186186    a simple class hierarchy of points illustrating how to use  
    187187    categories as object components 
     
    215215searching 
    216216    state-space searching framework 
    217     (example adopted from Ivan Bratko's "Prolog Programming for  
     217    (example adapted from Ivan Bratko's "Prolog Programming for  
    218218    Artificial Intelligence" book) 
    219219 
     
    223223 
    224224sicstus 
    225     examples adopted from SICStus Objects documentation 
     225    examples adapted from SICStus Objects documentation 
    226226 
    227227symdiff 
  • trunk/examples/poem/poem.lgt

    r2379 r4541  
    1111        comment is 'Parametric object for representing geometric points.', 
    1212        parnames is ['X', 'Y'], 
    13         source is 'Example adopted from the POEM system by Ben Staveley-Taylor.']). 
     13        source is 'Example adapted from the POEM system by Ben Staveley-Taylor.']). 
    1414 
    1515    :- public(identical/1). 
     
    4848        comment is 'Parametric object for representing geometric lines.', 
    4949        parnames is ['Point1', 'Point2'], 
    50         source is 'Example adopted from the POEM system by Ben Staveley-Taylor.']). 
     50        source is 'Example adapted from the POEM system by Ben Staveley-Taylor.']). 
    5151 
    5252    :- public(length/1). 
     
    131131        comment is 'Parametric object for representing geometric ellipses.', 
    132132        parnames is ['Center', 'Rx', 'Ry'], 
    133         source is 'Example adopted from the POEM system by Ben Staveley-Taylor.']). 
     133        source is 'Example adapted from the POEM system by Ben Staveley-Taylor.']). 
    134134 
    135135    :- public(area/1). 
     
    162162        comment is 'Parametric object for representing geometric circles.', 
    163163        parnames is ['Center', 'Radius'], 
    164         source is 'Example adopted from the POEM system by Ben Staveley-Taylor.']). 
     164        source is 'Example adapted from the POEM system by Ben Staveley-Taylor.']). 
    165165 
    166166    :- public(circumference/1). 
  • trunk/examples/points/NOTES.txt

    r4507 r4541  
    4242build its own versions of methods move/2 and print/0, adding to the 
    4343inherited definitions of one of the superclasses the calling of the 
    44 operation missing in the other superclass. This is the solution adopted 
     44operation missing in the other superclass. This is the solution adapted 
    4545in the SICStus Objects. However, this solution also implies a few 
    4646problems. Let's suppose that method move/2 is inherited from class 
  • trunk/examples/points/points.lgt

    r2271 r4541  
    1010        author is 'Paulo Moura', 
    1111        comment is 'Two dimensional point class.', 
    12         source is 'Example adopted from the SICStus Objects documentation.']). 
     12        source is 'Example adapted from the SICStus Objects documentation.']). 
    1313 
    1414 
     
    6868        author is 'Paulo Moura', 
    6969        comment is 'Point coordinate bounds management predicates.', 
    70         source is 'Example adopted from the SICStus Objects documentation.']). 
     70        source is 'Example adapted from the SICStus Objects documentation.']). 
    7171 
    7272 
     
    144144        author is 'Paulo Moura', 
    145145        comment is 'Two dimensional point moving in a constrained area.', 
    146         source is 'Example adopted from the SICStus Objects documentation.']). 
     146        source is 'Example adapted from the SICStus Objects documentation.']). 
    147147 
    148148 
     
    190190        author is 'Paulo Moura', 
    191191        comment is 'Point position history management predicates.', 
    192         source is 'Example adopted from the SICStus Objects documentation.']). 
     192        source is 'Example adapted from the SICStus Objects documentation.']). 
    193193 
    194194 
     
    247247        author is 'Paulo Moura', 
    248248        comment is 'Two dimensional point remembering past positions.', 
    249         source is 'Example adopted from the SICStus Objects documentation.']). 
     249        source is 'Example adapted from the SICStus Objects documentation.']). 
    250250 
    251251 
     
    293293        author is 'Paulo Moura', 
    294294        comment is 'Two dimensional point moving in a constrained area and remembering past point positions.', 
    295         source is 'Example adopted from the SICStus Objects documentation.']). 
     295        source is 'Example adapted from the SICStus Objects documentation.']). 
    296296 
    297297 
  • trunk/examples/searching/best_first1.lgt

    r4307 r4541  
    99        date is 2008/6/9, 
    1010        comment is 'Best first heuristic state space search strategy.', 
    11         source is 'Example adopted from the book "Prolog Programming for Artificial Intelligence" by Ivan Bratko.', 
     11        source is 'Example adapted from the book "Prolog Programming for Artificial Intelligence" by Ivan Bratko.', 
    1212        parnames is ['Threshold']]). 
    1313 
  • trunk/examples/searching/breadth_first1.lgt

    r4307 r4541  
    99        date is 2008/6/9, 
    1010        comment is 'Breadth first state space search strategy.', 
    11         source is 'Example adopted from the book "Prolog Programming for Artificial Intelligence" by Ivan Bratko.', 
     11        source is 'Example adapted from the book "Prolog Programming for Artificial Intelligence" by Ivan Bratko.', 
    1212        parnames is ['Bound']]). 
    1313 
  • trunk/examples/sicstus/NOTES.txt

    r4507 r4541  
    1010 
    1111 
    12 The examples in this folder are adopted from the SICStus Prolog manual. 
     12The examples in this folder are adapted from the SICStus Prolog manual. 
    1313 
    1414To load this example and for sample queries, please see the SCRIPT.txt file. 
  • trunk/examples/sicstus/ovals.lgt

    r2322 r4541  
    3232        comment is 'Parametric object for representing geometric ellipses.', 
    3333        parnames is ['RX', 'RY', 'Color'], 
    34         source is 'Example adopted from the SICStus Objects documentation.']). 
     34        source is 'Example adapted from the SICStus Objects documentation.']). 
    3535 
    3636    :- uses(math_constants). 
     
    9898        comment is 'Parametric object for representing geometric circles.', 
    9999        parnames is ['Radius', 'Color'], 
    100         source is 'Example adopted from the SICStus Objects documentation.']). 
     100        source is 'Example adapted from the SICStus Objects documentation.']). 
    101101 
    102102    :- public(r/1). 
     
    137137        comment is 'Parametric object for representing geometric circles with radius = 1.', 
    138138        parnames is ['Color'], 
    139         source is 'Example adopted from the SICStus Objects documentation.']). 
     139        source is 'Example adapted from the SICStus Objects documentation.']). 
    140140 
    141141    context :- 
     
    158158        comment is 'Parametric object for representing geometric red circles.', 
    159159        parnames is ['Radius'], 
    160         source is 'Example adopted from the SICStus Objects documentation.']). 
     160        source is 'Example adapted from the SICStus Objects documentation.']). 
    161161 
    162162    context :- 
  • trunk/examples/sicstus/sorting.lgt

    r3895 r4541  
    88        comment is 'List sorting parameterized by the type of the list elements.', 
    99        parnames is ['Type'], 
    10         source is 'Example adopted from the SICStus Objects documentation.']). 
     10        source is 'Example adapted from the SICStus Objects documentation.']). 
    1111 
    1212    :- uses(list). 
  • trunk/examples/viewpoints/NOTES.txt

    r4507 r4541  
    1212To load this example and for sample queries, please see the SCRIPT.txt file. 
    1313 
    14 Example adopted from the chapter "Classifying Prototype-Based Programming 
     14Example adapted from the chapter "Classifying Prototype-Based Programming 
    1515Languages" by Christophe Dony, Jacques Malenfant, and Daniel Bardou, found  
    1616on the book "Prototype-Based Programming - Concepts, Languages, and