Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 2.9 KB

sample-distribution.md

File metadata and controls

35 lines (28 loc) · 2.9 KB

The sample_distribution executable

Synopsis

Synopsis: sample_distribution <distribution> [ <n> ]

Samples a distribution.

The samples are written to the console.

Mandatory command line arguments

An argument <distribution> where

  • <distribution> is the path to the distribution

Optional command line arguments

An optional argument specifying the number of samples (defaults to 1000):

  • <n> sets the number of samples to <n>

Interpreting the output

The console output contains samples on the format

$ ./sample_distribution distributions/distribution-det-dim-heuristic-sigma-heuristic-m-2048-s-30.txt
Importing the distribution from "distributions/distribution-det-dim-heuristic-sigma-heuristic-m-2048-s-30.txt"...
sample: 1 / 1000
alpha_d: -6593077469322409916734995643247039283206711287804078668485899766459317293168968538290973999554459174043025375717864760313697812964719197777964204592519949555740768248925892109045709169657577460753197923563417532786530535749866667886777387472414515065506124239664937928737525092327229230621109561990726716831653738910062180248837791220931182761337890104854194678818378376700570028339516902696824923205146529354562781655827611686591809460909989417697628265461386757886789767206883214517974862599274333910334824375450300177187169877918872289599140854587168064625245349031909304776497661659976434365531264771399846144050
alpha_r: 12394028154035261444822200254779216980882673258897695051622176277935164855260175454715186078502523370450485812131949476443699486723247508984277810779029376401447575136267366371075279302935789361665753191635774116511108056538350485065915351181720970522568493382033902322991481293483715347318162518223532271392200647395366967517010277427956028464923151430978510850647488006966088313807426918192852186452903748593800535522434309977346661412279667015025383462937234851576489337124936816903313093779586277540220924282353892504435320082226721229277293938603911645314347774963552271557836782835811396618570456204400851413144
j: 16235766036397394520500951081368728609485808736859517980213640485402346665841793616662639905465825612661936329634323112430943999749312433814839543961413317651595242730966010921438029221450894554453764446751901083742817393744611216879286259475003769925234368705913030468444023699319744206176152004378407812845020244621824709251787308385408144306103502027874945453995454249305285156379359451287502111385010589907542099243125540004202613908589083432574038581983219815163132195106588635600398785713246469655874035348734017772976642160264670963137925026772980832228609815587336956880852883830226314975330098356331940905580080859446639619972106
k: 37393560574157362306

(..)

where

  • $(\alpha_d, \alpha_r)$ is the admissible argument pair sampled, and
  • $(j, k)$ is an integer pair sampled from the set of all integer pairs having argument pair $(\alpha_d, \alpha_r)$.