public class DescriptorPredictor<C extends net.idea.modbcum.p.AbstractDBProcessor<IStructureRecord,IStructureRecord>> extends ModelPredictor<C,IStructureRecord>
| Modifier and Type | Field and Description |
|---|---|
protected C |
calculator |
protected String |
mopac_commands |
applicationRootReference, classIndex, filter, header, imageSize, model, modelReporter, propertyReporter, record, structureRequired, targetURI, valuesRequired| Constructor and Description |
|---|
DescriptorPredictor(org.restlet.data.Reference applicationRootReference,
ModelQueryResults model,
ModelURIReporter modelReporter,
PropertyURIReporter propertyReporter,
String[] targetURI) |
| Modifier and Type | Method and Description |
|---|---|
AbstractDescriptorCalculator |
createCalculator() |
C |
createPredictor(ModelQueryResults model) |
String |
getCompoundURL(IStructureRecord target) |
BufferedImage |
getLegend(int width,
int height) |
String |
getMopac_commands() |
Object |
predict(IStructureRecord target) |
void |
setConnection(Connection connection) |
void |
setMopac_commands(String mopac_commands) |
String |
toString() |
assignResults, createResultReference, extractRecordID, getClassIndex, getHeader, getImage, getImage, getImageSize, getModel, getModelReporter, getPredictor, getPropertyReporter, isStructureRequired, isSupported, isValuesRequired, open, process, setImageSize, setModelReporter, setPropertyReporter, setStructureRequired, setValuesRequired, writeMessagesclose, getConnection, isCloseConnection, isEnabled, setCloseConnectionaddPropertyChangeListener, addPropertyChangeListener, getID, removePropertyChangeListener, removePropertyChangeListener, setEnabledprotected String mopac_commands
protected C extends net.idea.modbcum.p.AbstractDBProcessor<IStructureRecord,IStructureRecord> calculator
public DescriptorPredictor(org.restlet.data.Reference applicationRootReference,
ModelQueryResults model,
ModelURIReporter modelReporter,
PropertyURIReporter propertyReporter,
String[] targetURI)
throws org.restlet.resource.ResourceException
org.restlet.resource.ResourceExceptionpublic String getMopac_commands()
public void setMopac_commands(String mopac_commands)
public void setConnection(Connection connection) throws net.idea.modbcum.i.exceptions.DbAmbitException
setConnection in interface net.idea.modbcum.i.IDBProcessor<IStructureRecord,IStructureRecord>setConnection in class net.idea.modbcum.p.AbstractDBProcessor<IStructureRecord,IStructureRecord>net.idea.modbcum.i.exceptions.DbAmbitExceptionpublic C createPredictor(ModelQueryResults model) throws org.restlet.resource.ResourceException
createPredictor in class ModelPredictor<C extends net.idea.modbcum.p.AbstractDBProcessor<IStructureRecord,IStructureRecord>,IStructureRecord>org.restlet.resource.ResourceExceptionpublic AbstractDescriptorCalculator createCalculator()
public String getCompoundURL(IStructureRecord target) throws net.idea.modbcum.i.exceptions.AmbitException
getCompoundURL in class ModelPredictor<C extends net.idea.modbcum.p.AbstractDBProcessor<IStructureRecord,IStructureRecord>,IStructureRecord>net.idea.modbcum.i.exceptions.AmbitExceptionpublic Object predict(IStructureRecord target) throws net.idea.modbcum.i.exceptions.AmbitException
predict in class ModelPredictor<C extends net.idea.modbcum.p.AbstractDBProcessor<IStructureRecord,IStructureRecord>,IStructureRecord>net.idea.modbcum.i.exceptions.AmbitExceptionpublic String toString()
toString in class ModelPredictor<C extends net.idea.modbcum.p.AbstractDBProcessor<IStructureRecord,IStructureRecord>,IStructureRecord>public BufferedImage getLegend(int width, int height) throws net.idea.modbcum.i.exceptions.AmbitException
getLegend in interface IStructureDiagramDepiction<BufferedImage>getLegend in class ModelPredictor<C extends net.idea.modbcum.p.AbstractDBProcessor<IStructureRecord,IStructureRecord>,IStructureRecord>net.idea.modbcum.i.exceptions.AmbitExceptionCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.