EnglishFrenchSpanish

OnWorks favicon

algotutor - Online in the Cloud

Run algotutor in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command algotutor that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


algotutor - an interactive program for observing the intermediate steps of algorithms.

SYNOPSIS


algotutor [OPTION] ... DATA ...

DESCRIPTION


algotutor is an interactive program for observing the intermediate steps of algorithms.
The target audience is computer science students and/or anyone who studies algorithms
and/or data structures. One can create data files in plain text format (actually perl
anonymous hashes, but one need not care) and let algotutor runs through some predefined
algorithm. Then one can step backward and forward through the execution sequence of the
algorithm at different levels of details. It requires perl-Tk.

DATA is the input data. For the dynamic programming algorithms such as lcs and matc,
please see the respective entries in the following list; for other algorithms, it is the
file name containing the actual input data.

OPTIONS


-a ALGO
Runs the algorithm ALGO. Currently ALGO can be one of:

bst operations on binary search trees
rbt operations on red-black trees (remove() is not implemented yet)
heap operations on heaps -- the remove operation on a heap always removes the top
element regardless of the argument
sbs stack-based search on graphs, a variant of depth first search
bfs breadth first search on graphs
prim Prim's minimal spanning tree on graphs
dijk Dijkstra's single-source shortest path on graphs
flwa Floyd-Warshall's all-pair shortest path on graphs (very, very slow)
dom 2-dimensional point domination
graham Graham's scan for convex hull
lcs longest common subsequence -- it requires two strings as the command line
arguments. For example, "algotutor -a lcs AGCTATACGATGACT GTCAGTATAGTCATATG"
matc optimal matrix chain multiplication -- it requires an alternating sequence of
integers and matrix names as the command line arguments. For example, "algotutor -a
matc 32 A 35 B 24 C 30 D 36 E 25 F 40 G 34 H 35" means finding the optimal
multiplication sequence of the chain of matrices: A of size 32 by 35, B of size 35 by
24, ... H of size 34 by 35.
-s VERTEX
Use VERTEX as the starting vertex (for sbs, bfs, prim, and dijk)

-i STEP
Display step STEP as the initial image.

-d FILENAME
Dump the picture into FILENAME as a ps file and exit immediately without going into
interactive mode.

Use algotutor online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

Ad