Commit 05ab0d89 authored by Anurose Prakash's avatar Anurose Prakash
Browse files

Upload New File

parent 5de9f53b
package org.example;
import java.util.ArrayList;
import org.semanticweb.owlapi.model.*;
public class LearningProblem
{
String lpID = new String();
ArrayList<OWLIndividual> positiveSamples = new ArrayList<>();
ArrayList<OWLIndividual> negativeSamples = new ArrayList<>();
public LearningProblem(String lpID, ArrayList<OWLIndividual> positive_samples, ArrayList<OWLIndividual> negative_samples)
{
this.lpID =lpID;
this.positiveSamples =positive_samples;
this.negativeSamples =negative_samples;
}
public LearningProblem() {}
public String getLpID()
{
return lpID;
}
public ArrayList<OWLIndividual> getPositiveSamples()
{
return positiveSamples;
}
public ArrayList<OWLIndividual> getNegativeSamples()
{
return negativeSamples;
}
public void setLpID(String lpID)
{
this.lpID =lpID;
}
public void setPositiveSamples(ArrayList<OWLIndividual> positive_samples)
{
this.positiveSamples = positive_samples;
}
public void setNegativeSamples(ArrayList<OWLIndividual> negative_samples)
{
this.negativeSamples = negative_samples;
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment