Clarified spec

This commit is contained in:
Davis King 2012-05-02 22:34:31 -04:00
parent bcb84de474
commit 7a1e67e60f
1 changed files with 3 additions and 0 deletions

View File

@ -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