anchor.diff:  terminate(_Reason, _State) ->
       ok.
   
  +
  +%% @doc Obtains, from an orddict of Snapshots, the latest snapshot that can be included in 
  +%% a snapshot identified by SnapshotTime
   -spec get_latest_snapshot(SnapshotDict::orddict:orddict(), SnapshotTime::vectorclock:vectorclock())
   	 -> {ok, term()}.
   get_latest_snapshot(SnapshotDict, SnapshotTime) ->
  
positive.code: -include_lib("riak_core/include/riak_core_vnode.hrl").
  
  
  -define(SNAPSHOT_THRESHOLD, 10).
  -define(SNAPSHOT_MIN, 2).
  -define(OPS_THRESHOLD, 50).
  -define(OPS_MIN, 5).
  
negative.code: -spec belongs_to_snapshot({Dc::term(),CommitTime::non_neg_integer()},
                          SnapshotTime::vectorclock:vectorclock()) -> boolean().
  belongs_to_snapshot({Dc, CommitTime}, SnapshotTime) ->
  
  	lager:info("BELONGS TO SNAPSHOT FUNCTION ~n Dc= ~p, CommitTime= ~p, SnapshotTime= ~p", [Dc, CommitTime, SnapshotTime]),
  
      case vectorclock:get_clock_of_dc(Dc, SnapshotTime) of
          {ok, Ts} ->
              lager:info("materialiser_vnode: CommitTime: ~p SnapshotTime: ~p Result: ~p",
  