from rsf.proj import * n1 = 10000 # Create data Flow('data',None, ''' math n1=%f n2=1 output="1" | noise seed=1 rep=y | math output="abs(input)" ''' % n1 ) Flow('incore','data','sort') Flow('outofcore','data','sort memsize=1 ascmode=y') # Plots Result('datasort','data','graph title="Data" ') Result('incore','graph title="In-core sorted (descending)" ') Result('outofcore','graph title="Out-of-core sorted (ascending)" ') End() |