Discrete dimension fixes, infrastructure improvement, changes:
commit4e20e50a96fa763316801a1cbbd4bd66c6b64d8f
authorxiphmont <xiphmont@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Thu, 4 Jan 2007 21:14:27 +0000 (4 21:14 +0000)
committerxiphmont <xiphmont@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Thu, 4 Jan 2007 21:14:27 +0000 (4 21:14 +0000)
tree3b3ac942fd81f798125a5008aaa61551cdf18281
parent19383e62c64075db255697d0a529557201df3d19
Discrete dimension fixes, infrastructure improvement, changes:

1) Discrete dimensions upper/lower bounds quantize to the bin closest to the scale min and max; the upper scale bound is inclusive, not one past (ie, a discrete dimension with a scale of {1.,5.,10.} and a quant of 1 is specified to span [1, 10], not (1,10)

2) discrete dimensions are iterated monotonically from zero.  In the
above example, this means the objective sees 0,1,2,3,4,5,6,7,8,9.
Zero indexed monotonic applies only to objective iteration; this will
be configurable soon...

git-svn-id: http://svn.xiph.org/trunk@12303 0101bb08-14d6-0310-b084-bc0e0c8e3800
sushivision/dimension.c
sushivision/dimension.h
sushivision/panel-1d.c
sushivision/panel-1d.h