public class KernelEvaluationDaoImpl extends Object implements KernelEvaluationDao
Constructor and Description |
---|
KernelEvaluationDaoImpl() |
Modifier and Type | Method and Description |
---|---|
List<KernelEvaluationInstance> |
getAllKernelEvaluationsForInstance(KernelEvaluation kernelEvaluation,
long instanceId) |
Double |
getKernel(KernelEvaluation kernelEvaluation,
long instanceId1,
long instanceId2) |
KernelEvaluation |
getKernelEval(String name,
String experiment,
String label,
int foldId,
double param1,
String param2) |
Double |
getNorm(KernelEvaluation kernelEvaluation,
long instanceId) |
org.hibernate.SessionFactory |
getSessionFactory() |
org.springframework.transaction.PlatformTransactionManager |
getTransactionManager() |
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory) |
void |
setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager) |
void |
storeKernel(KernelEvaluation kernelEvaluation,
long instanceId1,
long instanceId2,
double kernel) |
KernelEvaluation |
storeKernelEval(KernelEvaluation kernelEvaluation)
store the kernel evaluation if it doesn't exist, else return the existing
one
|
void |
storeNorm(KernelEvaluation kernelEvaluation,
long instanceId,
double norm) |
public org.springframework.transaction.PlatformTransactionManager getTransactionManager()
public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
public org.hibernate.SessionFactory getSessionFactory()
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
public void storeNorm(KernelEvaluation kernelEvaluation, long instanceId, double norm)
storeNorm
in interface KernelEvaluationDao
public Double getNorm(KernelEvaluation kernelEvaluation, long instanceId)
getNorm
in interface KernelEvaluationDao
public void storeKernel(KernelEvaluation kernelEvaluation, long instanceId1, long instanceId2, double kernel)
storeKernel
in interface KernelEvaluationDao
public Double getKernel(KernelEvaluation kernelEvaluation, long instanceId1, long instanceId2)
getKernel
in interface KernelEvaluationDao
public List<KernelEvaluationInstance> getAllKernelEvaluationsForInstance(KernelEvaluation kernelEvaluation, long instanceId)
getAllKernelEvaluationsForInstance
in interface KernelEvaluationDao
public KernelEvaluation storeKernelEval(KernelEvaluation kernelEvaluation)
KernelEvaluationDao
storeKernelEval
in interface KernelEvaluationDao
public KernelEvaluation getKernelEval(String name, String experiment, String label, int foldId, double param1, String param2)
getKernelEval
in interface KernelEvaluationDao
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.