Simple inference engine implementation _ animal inference _VS2010 version