From 7a1e67e60f8c40a71276d50bc1461608ff5b435b Mon Sep 17 00:00:00 2001 From: Davis King Date: Wed, 2 May 2012 22:34:31 -0400 Subject: [PATCH] Clarified spec --- dlib/svm/graph_labeler_abstract.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlib/svm/graph_labeler_abstract.h b/dlib/svm/graph_labeler_abstract.h index 6143aa909..1bcd55e02 100644 --- a/dlib/svm/graph_labeler_abstract.h +++ b/dlib/svm/graph_labeler_abstract.h @@ -98,6 +98,9 @@ namespace dlib /*! requires - graph_type is an implementation of dlib/graph/graph_kernel_abstract.h + - graph_type::type and graph_type::edge_type must be either matrix objects + capable of representing column vectors or some kind of sparse vector + type as defined in dlib/svm/sparse_vector_abstract.h. - graph_contains_length_one_cycle(sample) == false - #get_edge_weights().size() != 0 - #get_node_weights().size() != 0