public class OnTheFlyPhaseDiagramStatistics extends PhaseDiagramStatistics
CommonCompositions, CompositionComparator, ElementProbability, MinDistance, NComponents, NCompounds, StructureProbability| Constructor and Description |
|---|
OnTheFlyPhaseDiagramStatistics() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
calculateStructureProbabilities()
Calculate the probability of each prototype appearing in a phase diagram.
|
protected int |
getCompositionIndex(double[] fracs)
Look up a composition in PhaseDiagramStatistics.CommonCompositions.
|
protected int[] |
getCompoundVector(int[] sites)
Given a list of elements on each site of a structure, determine which prototypes
exist on each site of the corresponding phase diagram.
|
protected boolean |
incrementCounter(int[] counter)
Increment a counter that iterates through all combinations of elements in a phase diagram.
|
protected void |
processCompounds(java.util.Map<CompositionEntry,java.lang.String> compounds)
Given a list of compounds, mark which phase diagrams they appear in.
|
addCompositionBin, calculateProbabilities, compositionsAreEqual, createLookupKey, evaluateProbability, getClosestBin, getCommonCompositions, getCumulants, getPrototypeNames, getVariableVector, importCompoundDataset, importKnownCompounds, importKnownCompounds, NComponents, NCompositions, NCompounds, orderComposition, printCumulants, roundCompositionprotected void processCompounds(java.util.Map<CompositionEntry,java.lang.String> compounds)
PhaseDiagramStatisticsprocessCompounds in class PhaseDiagramStatisticscompounds - Map of phase diagrams to be addedprotected int[] getCompoundVector(int[] sites)
PhaseDiagramStatisticsgetCompoundVector in class PhaseDiagramStatisticssites - Which elements are on each siteprotected int getCompositionIndex(double[] fracs)
fracs - Composition to look upprotected void calculateStructureProbabilities()
PhaseDiagramStatisticscalculateStructureProbabilities in class PhaseDiagramStatisticsprotected boolean incrementCounter(int[] counter)
counter - Counter to be incremented