Cost allocation algorithm

Discussion created by demdemeleeds on Sep 27, 2011
I have the following 2 questions: 1.Does anybody know if I may find the cost allocation algorithm in VBA and ArcObjects? The reason is that I want to do a similar task i.e. allocate space so I need to do some adjustments. 2. Why when I use the cost allocation function of Spatial Analyst, space is allocated not in all input source locations as shown in attached image. In particular, the input raster has 18 spots while the cost functions allocates 14 spaces.Can I impose the function to allocate space in all input source locations? and how?
Thanks Demetris