Turi Create  4.0
degree_count.hpp
1 /* Copyright © 2017 Apple Inc. All rights reserved.
2  *
3  * Use of this source code is governed by a BSD-3-clause license that can
4  * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
5  */
6 #include <model_server/lib/toolkit_function_specification.hpp>
7 #ifndef TURI_UNITY_DEGREE_COUNT
8 #define TURI_UNITY_DEGREE_COUNT
9 
10 namespace turi {
11 namespace degree_count {
12 
13 /**
14  * Obtains the registration for the Degree Count Toolkit.
15  *
16  * <b> Toolkit Name: degree_count </b>
17  *
18  * Accepted Parameters: None
19  *
20  * Returned Parameters:
21  * \li \b training_time (flexible_type: float). The training time of the algorithm in seconds
22  * excluding all other preprocessing stages.
23  *
24  * \li \b __graph__ (unity_graph). The graph object with the field "in_degree",
25  * "out_degree", "total_degree".
26  */
27 std::vector<toolkit_function_specification> get_toolkit_function_registration();
28 
29 } // namespace degree_count
30 } // namespace turi
31 #endif