edu.udo.cs.yale.operator
Interface IOObject
- All Known Subinterfaces:
- ExampleSet, Model, ResultObject
- All Known Implementing Classes:
- AbsoluteError, AbstractExampleSet, AbstractIOObject, AbstractModel, AbstractMySVMModel, AdaBoostModel, AnovaCalculator.AnovaSignificanceTestResult, AreaUnderCurve, AttributeWeight, AttributeWeightedExampleSet, AttributeWeights, Averagable, AverageModel, AverageVector, BaggingModel, BayBoostModel, BinaryClassificationPerformance, ConditionedExampleSet, ConjunctiveRuleModel, ContainerModel, CorrelationCriterion, CorrelationMatrix, DataStatistics, DefaultModel, DistributionModel, EstimatedPerformance, EvoSVMModel, ExampleSetAdapter, FastICAModel, GHAModel, GPModel, GSSModel, IGSSResult, IOModel, JMySVMModel, KernelModel, LibSVMModel, Margin, MDLCriterion, MeasuredPerformance, MinMaxCriterion, MinMaxNormalizationModel, MultiClassificationPerformance, MultiCriterionDecisionStumps.DecisionStumpModel, MultiModel, MultiModelByRegression, MyKLRModel, NormalizedAbsoluteError, ParameterSet, ParetoOptimalSetOfModels, PCAModel, PerformanceCriterion, PerformanceVector, PlattScalingModel, PredictionAverage, PredictionModel, RelativeError, ResultObjectAdapter, RootMeanSquaredError, RootRelativeSquaredError, RunVector, RVMModel, SDEnsemble, SerializableModel, SignificanceTestResult, SimpleAccuracy, SimpleBinaryPredictionModel, SimpleCriterion, SimpleExampleSet, SimplePredictionModel, SimpleResultObject, SplittedExampleSet, SquaredCorrelationCriterion, SquaredError, Threshold, TransformedRegressionModel, TTestSignificanceTestOperator.TTestSignificanceTestResult, WekaAssociator, WekaClassifier, ZTransformationModel
public interface IOObject
This interface must be implemented by all objects that can be input/output
objects for Operators. The copy method is necessary in cases where meta
operator chains want to copy the input IOContainer before it is given to the
children operators. Please note that the method only need to be implemented
like a usual clone
method for IO objects which can be altered
after creation. In all other cases the implementation can simply return the
same object. Hence, we use the name copy
instead of
clone
.
- Version:
- $Id: IOObject.java,v 2.11 2006/09/05 22:22:15 ingomierswa Exp $
- Author:
- Ingo Mierswa
Method Summary |
IOObject |
copy()
Should return a copy of this IOObject. |
void |
write(java.io.File file)
Writes the object data into a file. |
void |
write(java.io.OutputStream out)
Writes the object data into a stream. |
copy
IOObject copy()
- Should return a copy of this IOObject. Please note that the method can
usually be implemented by simply returning the same object (i.e. return
this;). The object needs only to be cloned in cases the IOObject can be
altered after creation. This is for example the case for ExampleSets.
write
void write(java.io.File file)
throws java.io.IOException
- Writes the object data into a file.
- Throws:
java.io.IOException
write
void write(java.io.OutputStream out)
throws java.io.IOException
- Writes the object data into a stream.
- Throws:
java.io.IOException
Copyright © 2001-2006