DataSourceIndependent, IDataSource, ConfigurationStorage.ConfigurationStorageListenerpublic class DataSourcePercolation extends java.lang.Object implements IDataSource, ConfigurationStorage.ConfigurationStorageListener, DataSourceIndependent
| Modifier and Type | Class | Description |
|---|---|---|
class |
DataSourcePercolation.Chi4Source |
|
class |
DataSourcePercolation.ImmFractionByTypeSource |
|
class |
DataSourcePercolation.ImmFractionSource |
|
class |
DataSourcePercolation.PercolationByImmFrac |
| Constructor | Description |
|---|---|
DataSourcePercolation(ConfigurationStorage configStorage,
AtomTestDeviation atomTest,
int log2StepMin) |
|
DataSourcePercolation(ConfigurationStorage configStorage,
AtomTestDeviation atomTest,
int log2StepMin,
HistogramNotSoSimple sharedHistogram) |
| Modifier and Type | Method | Description |
|---|---|---|
IData |
getData() |
|
IDataInfo |
getDataInfo() |
|
HistogramNotSoSimple |
getHistogram() |
|
int |
getIndependentArrayDimension() |
Returns the number of independent data dimensions
|
DataDoubleArray |
getIndependentData(int i) |
Returns the X data for the given dimension
|
DataDoubleArray.DataInfoDoubleArray |
getIndependentDataInfo(int i) |
Returns the DataInfo for the given dimension
|
DataTag |
getIndependentTag() |
Returns the tag associated with this DataSource.
|
int |
getLog2StepStart() |
|
double |
getNbrMax() |
|
DataTag |
getTag() |
|
DataSourcePercolation.Chi4Source |
makeChi4Source() |
|
DataSourcePercolation.ImmFractionSource |
makeImmFractionSource() |
|
DataSourcePercolation.ImmFractionByTypeSource |
makeImmFractionSource(AtomType type) |
|
DataSourcePercolation.PercolationByImmFrac |
makePerclationByImmFracSource() |
|
void |
newConfigruation() |
|
void |
reallocate(int n) |
|
void |
setLog2StepStart(int newStart) |
|
void |
setNbrMax(double nbrMax) |
|
void |
zeroData() |
protected final ConfigurationStorage configStorage
protected DataDoubleArray tData
protected DataDoubleArray.DataInfoDoubleArray tDataInfo
protected DataFunction data
protected DataFunction immFracData
protected DataFunction immFracPercData
protected DataFunction chi4Data
protected final DataFunction[] immFracDataByType
protected final DataFunction.DataInfoFunction[] immFracDataByTypeInfo
protected DataFunction.DataInfoFunction dataInfo
protected DataFunction.DataInfoFunction immFracDataInfo
protected DataFunction.DataInfoFunction immFracPercDataInfo
protected DataFunction.DataInfoFunction chi4DataInfo
protected double[] percP
protected long[] immTotal
protected long[] imm2Total
protected long[][] immFractionByType
protected final int[] numAtomsByType
protected final DataTag tTag
protected final DataTag tag
protected final DataTag immFracTag
protected final DataTag immFracPercTag
protected final DataTag chi4Tag
protected final DataTag[] immFracByTypeTag
protected long[] nSamples
protected final AtomNbrClusterer clusterer
protected AtomTestDeviation atomTest
protected final int[][] clusterSize
protected final int numAtoms
protected final int[] clusterStack
protected final boolean[] isVisited
protected final Space space
protected final Vector[] r
protected int log2StepMin
protected final int numTypes
protected final HistogramNotSoSimple histogramImmPerc
public DataSourcePercolation(ConfigurationStorage configStorage, AtomTestDeviation atomTest, int log2StepMin)
public DataSourcePercolation(ConfigurationStorage configStorage, AtomTestDeviation atomTest, int log2StepMin, HistogramNotSoSimple sharedHistogram)
public void setLog2StepStart(int newStart)
public int getLog2StepStart()
public void setNbrMax(double nbrMax)
public double getNbrMax()
public void zeroData()
public void reallocate(int n)
public void newConfigruation()
newConfigruation in interface ConfigurationStorage.ConfigurationStorageListenerpublic HistogramNotSoSimple getHistogram()
public IData getData()
getData in interface IDataSourcepublic DataTag getTag()
getTag in interface IDataSourcepublic IDataInfo getDataInfo()
getDataInfo in interface IDataSourcepublic DataDoubleArray getIndependentData(int i)
DataSourceIndependentgetIndependentData in interface DataSourceIndependentpublic DataDoubleArray.DataInfoDoubleArray getIndependentDataInfo(int i)
DataSourceIndependentgetIndependentDataInfo in interface DataSourceIndependentpublic int getIndependentArrayDimension()
DataSourceIndependentgetIndependentArrayDimension in interface DataSourceIndependentpublic DataTag getIndependentTag()
DataSourceIndependentgetIndependentTag in interface DataSourceIndependentpublic DataSourcePercolation.ImmFractionSource makeImmFractionSource()
public DataSourcePercolation.ImmFractionByTypeSource makeImmFractionSource(AtomType type)
public DataSourcePercolation.PercolationByImmFrac makePerclationByImmFracSource()
public DataSourcePercolation.Chi4Source makeChi4Source()