Turi Create  4.0
sgraph_types.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 #ifndef TURI_SGRAPH_SGRAPH_TYPES_HPP
7 #define TURI_SGRAPH_SGRAPH_TYPES_HPP
8 
9 #include<core/data/flexible_type/flexible_type.hpp>
10 
11 namespace turi {
12 
13 /**
14  * \ingroup sgraph_physical
15  * \addtogroup sgraph_main Main SGraph Objects
16  * \{
17  */
18 
19 /**
20  * The type of data that can be stored on vertices
21  */
22 typedef std::vector<flexible_type> sgraph_vertex_data;
23 
24 /**
25  * The type of data that can be stored on edges
26  */
27 typedef std::vector<flexible_type> sgraph_edge_data;
28 
29 }
30 
31 #endif
std::vector< flexible_type > sgraph_edge_data
std::vector< flexible_type > sgraph_vertex_data