All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.ssc.ref.OutputRefFmtMemory Maven / Gradle / Ivy

Go to download

This is a JSR331 interface for SSC (Software for the Calculation of the Simplex) is a java library for solving linear programming problems v. 3.0.1. SSC was designed and developed by Stefano Scarioli.

The newest version!
package it.ssc.ref;

import it.ssc.metadata.CreateMetadataFMT;
import it.ssc.metadata.MetaDataDatasetFMTSerializable;
import it.ssc.metadata.NameMetaParameters;
import it.ssc.pdv.PDVKeep;

public class OutputRefFmtMemory implements OutputRefInterface {
	
	private static final TYPE_REF type_ref = TYPE_REF.REF_FMT_MEMORY;
	private MetaDataDatasetFMTSerializable meta;
	
	
	/*
	public OutputRefFmtMemory() {
	
	}
	*/
	
	public void createMetaData(PDVKeep pdv, Long obs) throws Exception {
		CreateMetadataFMT w_meta = new CreateMetadataFMT();
		w_meta.setField(pdv);
		w_meta.setProperties(NameMetaParameters.NAME_META_PARAMETERS.NOBS_LONG,	obs);
		meta=w_meta.getMetaData();
	}
	
	public MetaDataDatasetFMTSerializable getMeta() {
		return meta;
	}


	public TYPE_REF getTypeRef() {
		return type_ref;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy