![]() |
ValidPURPOSE
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:
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 |