boost serialize for HypothesesGraph