src/work/jacint/fib_heap.h
changeset 271 951cd01495e7
parent 220 7deda4d6a07a
equal deleted inserted replaced
6:f6a1c49ad630 7:ce33993238be
   224 
   224 
   225 
   225 
   226     state_enum state(const Item &it) const {
   226     state_enum state(const Item &it) const {
   227       int i=iimap[it];
   227       int i=iimap[it];
   228       if( i>=0 ) {
   228       if( i>=0 ) {
   229 	if ( container[i].in ) i=0;
   229 	if ( container[i].in ) i=IN_HEAP;
   230 	else i=-2; 
   230 	else i=POST_HEAP; 
   231       }
   231       }
   232       return state_enum(i);
   232       return state_enum(i);
   233     }
   233     }
   234 
   234 
   235 
   235