Skip to content

Commit

Permalink
Merge branch 'fixes-lto'
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhard-da committed Mar 5, 2024
2 parents ca7dfd9 + 57e1443 commit 780361f
Show file tree
Hide file tree
Showing 13 changed files with 476 additions and 440 deletions.
4 changes: 4 additions & 0 deletions R/RcppExports.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ measure_threshold <- function(data, global_risk_R) {
.Call(`_sdcMicro_measure_threshold`, data, global_risk_R)
}

RankSwap <- function(data, data2, g_MissingValue_R, g_TopRatio_R, g_BottomRatio_R, g_K0_R, g_R0_R, g_P_R, seed_R) {
.Call(`_sdcMicro_RankSwap`, data, data2, g_MissingValue_R, g_TopRatio_R, g_BottomRatio_R, g_K0_R, g_R0_R, g_P_R, seed_R)
}

Suda2 <- function(data, g_MissingValueALEX_R, MaxK_R, DisFraction_R, elliot_scores) {
.Call(`_sdcMicro_Suda2`, data, g_MissingValueALEX_R, MaxK_R, DisFraction_R, elliot_scores)
}
Expand Down
20 changes: 8 additions & 12 deletions src/0Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
*
* The full text of the license is available at http://www.gnu.org/copyleft/lesser.html
*/

#include <Rcpp.h>
#include <stdlib.h>
#include <stdarg.h>
Expand All @@ -30,6 +31,7 @@
//#include <malloc.h>
//#endif
//#endif

#include "Framework.h"

// //RankSwapping
Expand All @@ -41,13 +43,12 @@ enum{
#include "RankSwapping.h"


//Mdav
enum{
es_NbHashBitXX = 16,
es_NbHashListXX = 1 << es_NbHashBitXX
};
#include "Mdav.h"

//Mdav
//enum{
// es_NbHashBitXX = 16,
// es_NbHashListXX = 1 << es_NbHashBitXX
// };
//#include "Mdav.h"

//Suda2
#include "Suda2.h"
Expand All @@ -56,9 +57,4 @@ enum{

#include "Measure_Risk.h"
#include "Measure_Hierarchical.h"

#include "Measure_Threshold.h"

#include "LocalRecProg/kneibmatch.cpp"


Loading

0 comments on commit 780361f

Please sign in to comment.