public class Algorithm<T extends Serializable> extends Object implements Comparable<Algorithm<T>>, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Algorithm.AlgorithmFormat |
static class |
Algorithm.requires |
Modifier and Type | Field and Description |
---|---|
protected T |
content |
protected String |
description |
protected String |
endpoint |
protected Algorithm.AlgorithmFormat |
format |
protected String |
id |
protected String |
implementationOf |
protected Template |
input |
protected String |
name |
protected List<Parameter> |
parameters |
protected Algorithm.requires |
requirement |
protected String[] |
type |
protected String id
protected String name
protected T extends Serializable content
protected Algorithm.AlgorithmFormat format
protected String[] type
protected String endpoint
protected Algorithm.requires requirement
protected String implementationOf
protected String description
protected Template input
public Algorithm()
public Algorithm(String name)
public String getImplementationOf()
public void setImplementationOf(String implementationOf)
public Algorithm.requires getRequirement()
public void setRequirement(Algorithm.requires requirement)
public String getEndpoint()
public void setEndpoint(String endpoint)
public boolean isSupervised()
public boolean isRequiresDataset()
public boolean isDataProcessing()
public String[] getType()
public void setType(String[] type)
public boolean hasType(AlgorithmType type)
public boolean hasType(String type)
public String getDescription()
public void setDescription(String description)
public Algorithm.AlgorithmFormat getFormat()
public void setFormat(Algorithm.AlgorithmFormat format)
public Template getInput()
public void setInput(Template input)
public T getContent()
public void setContent(T content)
public String getId()
public void setId(String id)
public String getName()
public void setName(String name)
public void addParameter(Parameter param)
public int compareTo(Algorithm<T> o)
compareTo
in interface Comparable<Algorithm<T extends Serializable>>
public String[] getParametersAsArray()
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.