Announcement

Collapse
No announcement yet.

Navigation Tip

Collapse

To find what you need, select a category and then a project from the left sidebar.

Examples and Unsupported

Collapse

This category contains example code and wrapper functions to help you build your own environments in a variety of language, namely C++, PhP, Python, Java and C. This code is unsupported but may still work.

  • Filter
  • Time
  • Show
Clear All
new posts

  • Working Memory Activation Tracker

    Working Memory Activation Tracker

    This is a simple pair of scripts to help debug/visualize working-memory activation values. The first script (gen_wma.cpp) runs a Soar agent for a fixed number of decisions, outputting working memory at each decision to a specially named file. The second script (aggregate_wma.php) takes these files and produces a CSV file where every working-memory element (columns) has an activation value for every decision (rows). This allows for easy graphing of activation in Excel, for instance.

    ...
    See more | Go to post

  • Towers of Hanoi

    Towers of Hanoi

    The classic Towers of Hanoi puzzle implemented as an external, graphical environment using Java and interfaced with Soar via SML. To see how the agent performs the task, you must launch the Soar debugger and tell it to connect to a remote Soar agent.

    The Towers of Hanoi is a puzzle that consists of three rods and a number of disks of different sizes which can slide onto any rod. The puzzle starts with the disks in a neat stack in ascending order of size on one rod, the smallest at the...
    See more | Go to post

  • RL Command Line Interface

    RL Command Line Interface

    This project contains an example of a C++ program, RlCli, that interfaces with Soar, which provides a command-line interface to collect reinforcement learning data. It is a good example of a minimal command-line application.

    Download LinksDocumentation
    • None.
    Developer
    • Jon Voigt <voigtjr@gmail.com>
    Soar Versions
    • Soar 8, 9
    Language
    • C++
    See more | Go to post

  • Soar Obfuscator

    Soar Obfuscator

    This is a python script that does simple find and replaces to quickly (but weakly) obfuscate Soar code. It was originally developed to hide the workings of TankSoar agents developed for a TankSoar competition.

    Download LinksDocumentation
    • None.
    Developer
    • Jon Voigt <voigtjr@gmail.com>
    Soar Versions
    • Soar 8, 9
    Language
    • Python
    See more | Go to post

  • Missionaries and Cannibals

    Missionaries and Cannibals

    The classic missionaries and cannibals puzzle implemented as an external, graphical environment using Java and interfaced with Soar via SML. To see how the agent performs the task, you must launch the Soar debugger and tell it to connect to a remote Soar agent.

    In the missionaries and cannibals problem, three missionaries and three cannibals must cross a river using a boat which can carry at most two people, under the constraint that, for both banks, if there are missionaries present...
    See more | Go to post

  • Java Logger

    Java Logger

    This project contains an example of a Java program that interfaces with Soar.

    This application shows an example of how to build a simple logging tool. To use it you would run a Soar kernel somewhere (in an environment or inside the debugger for example) and then run this logger. The logger listens for certain events and then creates a log file.

    The idea is that you could take this simple app and modify it to log what you need for your specific application, outputing the...
    See more | Go to post

  • C++ Logger

    C++ Logger

    This project contains an example of a C++ program that interfaces with Soar.

    This application shows an example of how to build a simple logging tool. To use it you would run a Soar kernel somewhere (in an environment or inside the debugger for example) and then run this logger. The logger listens for certain events and then creates a log file.

    The idea is that you could take this simple app and modify it to log what you need for your specific application, outputing the...
    See more | Go to post

  • C++ Command Line Filter Example

    C++ Command Line Filter Example

    FilterC

    FilterC demonstrates how to write a client in C++ that intercepts commands to implement a simple command line.

    Download LinksDocumentation
    • While there is no explicit documentation, this example code is commented.
    Developer
    • Douglas Pearson
    Soar Versions
    • Soar 8, 9
    Language
    • C++
    See more | Go to post

  • Tcl Command Line Filter Example

    Tcl Command Line Filter Example

    FilterTcl demonstrates how to write a client that intercepts commands to allow one to use Tcl from the command line (like earlier versions of Soar).

    To demonstrate its capabilities, it comes packaged with both TclEaters and the TSI (Tcl Soar Interface, i.e. the old Tcl-based Soar debugger.)

    Note: Soar now includes embedded Tcl support via TclSoarLib, which may provide a more recent example of Tcl interfacing.

    Download LinksDoc...
    See more | Go to post

  • Tower of Hanoi SML Example

    Tower of Hanoi SML Example

    This project contains an example of a C++ based environment that interfaces with Soar. It implements a graphical version of the Towers of Hanoi. There is no option to load custom agents or interface to observe the agent trace. This project is an SML example, not a Towers of Hanoi test domain.

    The Towers of Hanoi is a puzzle that consists of three rods and a number of disks of different sizes which can slide onto any rod. The puzzle starts with the disks in a neat stack in ascending...
    See more | Go to post
There are no articles in this category.
Working...
X