Home > marl > world > robotsgw > robotsgwview.m

robotsgwview

PURPOSE ^

Creates the graphical view over a grid world

SYNOPSIS ^

function v = robotsgwview(gw, cfg)

DESCRIPTION ^

Creates the graphical view over a grid world
  V = ROBOTSGWVIEW(GW, CFG)
  Creates the GUI view over a grid world.  The view will take care of
 maintaining and displaying the graphical representation of the
  grid world.

  Parameters:
   GW          - the robotsgw whose view is being created
   CFG         - other configuration options. Structure with fields:
       repres          - either 'abstract' or 'realistic'. In abstract
           representations, agents are represented by circles, and their goals
           by crosses. In "realistic", agents are StarWars robots and their
           goals are color-coded power sockets. Default 'realistic'.
       showafter       - make world visible only after this number of
           trials. If Inf, world will be invisible throughout the learnign
           process. Default Inf.
       slowdownafter   - similarly, but for slowing down the learning
           process for visualization. Takes effect only after 'showafter'
           trials. Default Inf.
  Returns:
   V           - the created robotsgw view

  See also robotsgw, robotsgw_display, robotsgwview_isvisible

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 04-Aug-2010 16:55:08 by m2html © 2005