This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <algorithm> | |
#include <cstdlib> | |
#include <fstream> | |
#include <iomanip> | |
#include <ios> | |
#include <istream> | |
#include <iostream> | |
#include <sstream> | |
#include <cstdio> | |
#include <string> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.github.coderodde.math; | |
import java.util.Objects; | |
import java.util.Random; | |
import java.util.Scanner; | |
/** | |
* This class represents a non-negative integer with arbitrary number of digits. | |
* Instances of this class are immutable. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Iteration: 1 | |
0.019900 3168.985000 | |
0.029800 2662.328200 | |
0.039700 2448.982600 | |
0.049600 3247.529200 | |
0.059500 3473.904600 | |
0.069400 3333.155200 | |
0.079300 2165.653900 | |
0.089200 2179.825000 | |
0.099100 2116.665100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<<< PartialRunningTimeStatisticsProducer >>> | |
[Data set 1 ] curve: mean = 0,856112, std = 0,126600, dist = 0,161782; data set: mean = 0,858582, std = 0,233575. | |
[Data set 2 ] curve: mean = 0,840323, std = 0,108234, dist = 0,168597; data set: mean = 0,842195, std = 0,228046. | |
[Data set 3 ] curve: mean = 0,838600, std = 0,083718, dist = 0,173736; data set: mean = 0,839846, std = 0,226096. | |
[Data set 4 ] curve: mean = 0,832649, std = 0,074789, dist = 0,151485; data set: mean = 0,834139, std = 0,198362. | |
[Data set 5 ] curve: mean = 0,798199, std = 0,085541, dist = 0,138090; data set: mean = 0,799900, std = 0,192366. | |
[Data set 6 ] curve: mean = 0,836433, std = 0,103488, dist = 0,164244; data set: mean = 0,838495, std = 0,215957. | |
[Data set 7 ] curve: mean = 0,809561, std = 0,064404, dist = 0,151362; data set: mean = 0,810626, std = 0,187350. | |
[Data set 8 ] curve: mean = 0,834674, std = 0,095554, dist = 0,150443; data set: mean = 0,836188, std = 0,200333. | |
[Data set 9 ] curve: mean = 0,824165, std = 0,088805, dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<<< PartialRunningTimeStatisticsProducer >>> | |
[Data set 1 ] curve: mean = 0,856112, std = 0,126600, dist = 0,161782; data set: mean = 0,858582, std = 0,233575. | |
[Data set 2 ] curve: mean = 0,840323, std = 0,108234, dist = 0,168597; data set: mean = 0,842195, std = 0,228046. | |
[Data set 3 ] curve: mean = 0,838600, std = 0,083718, dist = 0,173736; data set: mean = 0,839846, std = 0,226096. | |
[Data set 4 ] curve: mean = 0,832649, std = 0,074789, dist = 0,151485; data set: mean = 0,834139, std = 0,198362. | |
[Data set 5 ] curve: mean = 0,798199, std = 0,085541, dist = 0,138090; data set: mean = 0,799900, std = 0,192366. | |
[Data set 6 ] curve: mean = 0,836433, std = 0,103488, dist = 0,164244; data set: mean = 0,838495, std = 0,215957. | |
[Data set 7 ] curve: mean = 0,809561, std = 0,064404, dist = 0,151362; data set: mean = 0,810626, std = 0,187350. | |
[Data set 8 ] curve: mean = 0,834674, std = 0,095554, dist = 0,150443; data set: mean = 0,836188, std = 0,200333. | |
[Data set 9 ] curve: mean = 0,824165, std = 0,088805, dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Iteration: 1 | |
0.019900 3168.985000 | |
0.029800 2662.328200 | |
0.039700 2448.982600 | |
0.049600 3247.529200 | |
0.059500 3473.904600 | |
0.069400 3333.155200 | |
0.079300 2165.653900 | |
0.089200 2179.825000 | |
0.099100 2116.665100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; | |
public class ComputeFingerListConfigurationsWithEntropies { | |
public static void main(String[] args) { | |
FingerList fingerList = new FingerList(); | |
int lineNumber = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <algorithm> | |
#include <chrono> | |
#include <cstring> | |
#include <iostream> | |
#include <limits.h> | |
#include <math.h> | |
#include <random> | |
#include <time.h> | |
#include <limits> | |
#include <string.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package fi.helsinki.coderodde.util; | |
import java.util.Arrays; | |
import java.util.HashSet; | |
import java.util.Random; | |
import java.util.Set; | |
public class IncreasingEntropyOfFingerList { | |
public static void main(String[] args) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <algorithm> | |
#include <chrono> | |
#include <omp.h> | |
#include <pthread.h> | |
#define N 50000000 | |
using std::swap; | |
using std::cout; |
NewerOlder