@@ -50,90 +50,6 @@ BEGIN_RCPP
50
50
return rcpp_result_gen;
51
51
END_RCPP
52
52
}
53
- // euclidean_distance
54
- double euclidean_distance (NumericVector P, NumericVector Q);
55
- RcppExport SEXP _ggraph_euclidean_distance (SEXP PSEXP, SEXP QSEXP) {
56
- BEGIN_RCPP
57
- Rcpp::RObject rcpp_result_gen;
58
- Rcpp::RNGScope rcpp_rngScope_gen;
59
- Rcpp::traits::input_parameter< NumericVector >::type P (PSEXP);
60
- Rcpp::traits::input_parameter< NumericVector >::type Q (QSEXP);
61
- rcpp_result_gen = Rcpp::wrap (euclidean_distance (P, Q));
62
- return rcpp_result_gen;
63
- END_RCPP
64
- }
65
- // angle_compatibility
66
- double angle_compatibility (NumericVector P, NumericVector Q);
67
- RcppExport SEXP _ggraph_angle_compatibility (SEXP PSEXP, SEXP QSEXP) {
68
- BEGIN_RCPP
69
- Rcpp::RObject rcpp_result_gen;
70
- Rcpp::RNGScope rcpp_rngScope_gen;
71
- Rcpp::traits::input_parameter< NumericVector >::type P (PSEXP);
72
- Rcpp::traits::input_parameter< NumericVector >::type Q (QSEXP);
73
- rcpp_result_gen = Rcpp::wrap (angle_compatibility (P, Q));
74
- return rcpp_result_gen;
75
- END_RCPP
76
- }
77
- // scale_compatibility
78
- double scale_compatibility (NumericVector P, NumericVector Q);
79
- RcppExport SEXP _ggraph_scale_compatibility (SEXP PSEXP, SEXP QSEXP) {
80
- BEGIN_RCPP
81
- Rcpp::RObject rcpp_result_gen;
82
- Rcpp::RNGScope rcpp_rngScope_gen;
83
- Rcpp::traits::input_parameter< NumericVector >::type P (PSEXP);
84
- Rcpp::traits::input_parameter< NumericVector >::type Q (QSEXP);
85
- rcpp_result_gen = Rcpp::wrap (scale_compatibility (P, Q));
86
- return rcpp_result_gen;
87
- END_RCPP
88
- }
89
- // position_compatibility
90
- double position_compatibility (NumericVector P, NumericVector Q);
91
- RcppExport SEXP _ggraph_position_compatibility (SEXP PSEXP, SEXP QSEXP) {
92
- BEGIN_RCPP
93
- Rcpp::RObject rcpp_result_gen;
94
- Rcpp::RNGScope rcpp_rngScope_gen;
95
- Rcpp::traits::input_parameter< NumericVector >::type P (PSEXP);
96
- Rcpp::traits::input_parameter< NumericVector >::type Q (QSEXP);
97
- rcpp_result_gen = Rcpp::wrap (position_compatibility (P, Q));
98
- return rcpp_result_gen;
99
- END_RCPP
100
- }
101
- // visibility_compatibility
102
- double visibility_compatibility (NumericVector P, NumericVector Q);
103
- RcppExport SEXP _ggraph_visibility_compatibility (SEXP PSEXP, SEXP QSEXP) {
104
- BEGIN_RCPP
105
- Rcpp::RObject rcpp_result_gen;
106
- Rcpp::RNGScope rcpp_rngScope_gen;
107
- Rcpp::traits::input_parameter< NumericVector >::type P (PSEXP);
108
- Rcpp::traits::input_parameter< NumericVector >::type Q (QSEXP);
109
- rcpp_result_gen = Rcpp::wrap (visibility_compatibility (P, Q));
110
- return rcpp_result_gen;
111
- END_RCPP
112
- }
113
- // compatibility_score
114
- double compatibility_score (NumericVector P, NumericVector Q);
115
- RcppExport SEXP _ggraph_compatibility_score (SEXP PSEXP, SEXP QSEXP) {
116
- BEGIN_RCPP
117
- Rcpp::RObject rcpp_result_gen;
118
- Rcpp::RNGScope rcpp_rngScope_gen;
119
- Rcpp::traits::input_parameter< NumericVector >::type P (PSEXP);
120
- Rcpp::traits::input_parameter< NumericVector >::type Q (QSEXP);
121
- rcpp_result_gen = Rcpp::wrap (compatibility_score (P, Q));
122
- return rcpp_result_gen;
123
- END_RCPP
124
- }
125
- // compute_compatibility_lists
126
- List compute_compatibility_lists (NumericMatrix edges_xy, double compatibility_threshold);
127
- RcppExport SEXP _ggraph_compute_compatibility_lists (SEXP edges_xySEXP, SEXP compatibility_thresholdSEXP) {
128
- BEGIN_RCPP
129
- Rcpp::RObject rcpp_result_gen;
130
- Rcpp::RNGScope rcpp_rngScope_gen;
131
- Rcpp::traits::input_parameter< NumericMatrix >::type edges_xy (edges_xySEXP);
132
- Rcpp::traits::input_parameter< double >::type compatibility_threshold (compatibility_thresholdSEXP);
133
- rcpp_result_gen = Rcpp::wrap (compute_compatibility_lists (edges_xy, compatibility_threshold));
134
- return rcpp_result_gen;
135
- END_RCPP
136
- }
137
53
// force_bundle_iter
138
54
List force_bundle_iter (NumericMatrix edges_xy, List elist, double K, int C, int P, int P_rate, double S, int I, double I_rate, double compatibility_threshold, double eps);
139
55
RcppExport SEXP _ggraph_force_bundle_iter (SEXP edges_xySEXP, SEXP elistSEXP, SEXP KSEXP, SEXP CSEXP, SEXP PSEXP, SEXP P_rateSEXP, SEXP SSEXP, SEXP ISEXP, SEXP I_rateSEXP, SEXP compatibility_thresholdSEXP, SEXP epsSEXP) {
@@ -237,13 +153,6 @@ static const R_CallMethodDef CallEntries[] = {
237
153
{" _ggraph_pack" , (DL_FUNC) &_ggraph_pack, 1 },
238
154
{" _ggraph_circlePackLayout" , (DL_FUNC) &_ggraph_circlePackLayout, 2 },
239
155
{" _ggraph_dendrogram_spread" , (DL_FUNC) &_ggraph_dendrogram_spread, 7 },
240
- {" _ggraph_euclidean_distance" , (DL_FUNC) &_ggraph_euclidean_distance, 2 },
241
- {" _ggraph_angle_compatibility" , (DL_FUNC) &_ggraph_angle_compatibility, 2 },
242
- {" _ggraph_scale_compatibility" , (DL_FUNC) &_ggraph_scale_compatibility, 2 },
243
- {" _ggraph_position_compatibility" , (DL_FUNC) &_ggraph_position_compatibility, 2 },
244
- {" _ggraph_visibility_compatibility" , (DL_FUNC) &_ggraph_visibility_compatibility, 2 },
245
- {" _ggraph_compatibility_score" , (DL_FUNC) &_ggraph_compatibility_score, 2 },
246
- {" _ggraph_compute_compatibility_lists" , (DL_FUNC) &_ggraph_compute_compatibility_lists, 2 },
247
156
{" _ggraph_force_bundle_iter" , (DL_FUNC) &_ggraph_force_bundle_iter, 11 },
248
157
{" _ggraph_partitionTree" , (DL_FUNC) &_ggraph_partitionTree, 4 },
249
158
{" _ggraph_cut_lines" , (DL_FUNC) &_ggraph_cut_lines, 9 },
0 commit comments