From 0596d45f4b3f1d9826302355368bf4a78bed39a8 Mon Sep 17 00:00:00 2001 From: DDred Date: Fri, 25 Mar 2011 23:36:57 +0000 Subject: [PATCH] --- .../com/rapidminer/resources/OperatorsHMM.xml | 16 ++++++++++++---- src/interval_analysis/chain/RMChainSet.java | 6 ++++++ src/libiada/Root/SimpleTypes/ValueChar.java | 8 ++++++++ 3 files changed, 26 insertions(+), 4 deletions(-) diff --git a/resources/com/rapidminer/resources/OperatorsHMM.xml b/resources/com/rapidminer/resources/OperatorsHMM.xml index 9b6cbaf..137027a 100644 --- a/resources/com/rapidminer/resources/OperatorsHMM.xml +++ b/resources/com/rapidminer/resources/OperatorsHMM.xml @@ -4,19 +4,27 @@ average remoteness - interval_analysis.AverageRemoteness + interval_analysis.AverageRemotenessRM chain reader - interval_analysis.chain.ChainReader + interval_analysis.chain.ChainReaderRM + + + periodic contents generator + interval_analysis.chain.PeriodicChainContentsBuilderRM buildings generator - interval_analysis.chain.BuildingsGenerator + interval_analysis.chain.BuildingsGeneratorRM + + + buildings generator from contents + interval_analysis.chain.BuildingGeneratorFromContentsRM sampling distribution - interval_analysis.chain.SamplingDistribution + interval_analysis.chain.SamplingDistributionRM diff --git a/src/interval_analysis/chain/RMChainSet.java b/src/interval_analysis/chain/RMChainSet.java index 76953fa..a3d2099 100644 --- a/src/interval_analysis/chain/RMChainSet.java +++ b/src/interval_analysis/chain/RMChainSet.java @@ -79,4 +79,10 @@ public int getCount() { public ChainWithCharacteristic get(int i) { return chains.get(i); } + + public void addChainsFromStrings(ArrayList chains) throws Exception { + for (String chain : chains) { + this.chains.add(new Chain(chain)); + } + } } diff --git a/src/libiada/Root/SimpleTypes/ValueChar.java b/src/libiada/Root/SimpleTypes/ValueChar.java index be3799d..55f3ba9 100644 --- a/src/libiada/Root/SimpleTypes/ValueChar.java +++ b/src/libiada/Root/SimpleTypes/ValueChar.java @@ -1,5 +1,6 @@ package libiada.Root.SimpleTypes; +import libiada.IntervalAnalysis.Characteristics.Characteristic; import libiada.Root.IBaseObject; import libiada.Root.IBin; @@ -16,6 +17,13 @@ public ValueChar(char sym) { value = sym; } + @Override + public String toString() { + String result = ""; + result += value; + return result; + } + public IBaseObject Clone() { return new ValueChar(value); }