Institut de Robòtica i Informàtica Industrial

Valid

PURPOSE ^

True for poins inside the continuous space.

SYNOPSIS ^

function b=Valid(CS,s)

DESCRIPTION ^

   True for poins inside the continuous space.

   Returns true if the state 's' is inside the bounds of the continuous
   space CS for all dimensions.

CROSS-REFERENCE INFORMATION ^

This function calls:
This function is called by:

SOURCE CODE ^

0001 function b=Valid(CS,s)
0002 %   True for poins inside the continuous space.
0003 %
0004 %   Returns true if the state 's' is inside the bounds of the continuous
0005 %   space CS for all dimensions.
0006 
0007   b=sum((CS.min<=s)&&(s<=CS.max))==CS.dim;
0008


Institut de Robòtica i Informàtica Industrial

Generated on Wed 05-Aug-2009 15:05:21 by m2html © 2003