|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjigcell.compare.data.type.TypeChecker
jigcell.compare.data.type.ListTypeChecker
jigcell.compare.data.type.StructuredTypeChecker
jigcell.compare.cellcycle.GenericPhenotype
public class GenericPhenotype
Type for the generic cell cycle phenotype.
This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.
| Field Summary | |
|---|---|
protected static java.lang.String |
TYPE_NAME
Name of this type |
protected static ITypeChecker |
TYPE_SINGLETON
Instance of this type |
| Fields inherited from class jigcell.compare.data.type.TypeChecker |
|---|
COMPARATOR_NAME |
| Fields inherited from interface jigcell.compare.ITypeChecker |
|---|
ATTRIBUTE_TYPE, METHOD_GENERATE, OPTION_TYPECHECKER |
| Constructor Summary | |
|---|---|
protected |
GenericPhenotype()
Creates a new type checker. |
| Method Summary | |
|---|---|
static IDataElement |
createInviablePhenotype(double averageSubCycles,
long errorCode,
long cycles)
A phenotype which describes an inviable mutant. |
static IDataElement |
createViablePhenotype(double stableG1Length,
double stableDivisionMass,
double averageSubCycles)
A phenotype which describes a viable mutant. |
static IDataElement |
createViablePhenotype(double stableG1Length,
double stableDivisionMass,
double averageSubCycles,
long cycles)
A phenotype which describes a viable mutant. |
static ITypeChecker |
getInstance()
A type checker. |
java.lang.String |
getName()
A name for this type. |
java.lang.String |
getName(long pos)
A name for the element at this position. Implementations that do not want to provide a name should return null. |
IDataElement |
getPrototype()
A prototype for data elements of this type. Implementations that do not want to provide a prototype element should return null. |
ITypeChecker |
getTypeChecker(long pos)
A type checker for the element at this position. Implementations that do not want to provide a type checker should return null. |
boolean |
isCompatible(ITypeChecker type)
Whether a data type can be converted to this type. |
boolean |
validate(IDataElement data)
Whether a data element is an instance of this type. |
| Methods inherited from class jigcell.compare.data.type.StructuredTypeChecker |
|---|
getDescription |
| Methods inherited from class jigcell.compare.data.type.ListTypeChecker |
|---|
getType |
| Methods inherited from class jigcell.compare.data.type.TypeChecker |
|---|
compareByName, getDescription, getTypeCheckerForGenerator, isCompatible, toString, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jigcell.compare.ITypeChecker |
|---|
getDescription, getType |
| Field Detail |
|---|
protected static final java.lang.String TYPE_NAME
protected static final ITypeChecker TYPE_SINGLETON
| Constructor Detail |
|---|
protected GenericPhenotype()
| Method Detail |
|---|
public static IDataElement createInviablePhenotype(double averageSubCycles,
long errorCode,
long cycles)
averageSubCycles - Average number of cycles of a species per cell cycleerrorCode - Reason the mutant diedcycles - Number of cycles completed before death
public static IDataElement createViablePhenotype(double stableG1Length,
double stableDivisionMass,
double averageSubCycles)
stableG1Length - Length of G1 when in steady statestableDivisionMass - Division size when in steady stateaverageSubCycles - Average number of cycles of a species per cell cycle
public static IDataElement createViablePhenotype(double stableG1Length,
double stableDivisionMass,
double averageSubCycles,
long cycles)
stableG1Length - Length of G1 when in steady statestableDivisionMass - Division size when in steady stateaverageSubCycles - Average number of cycles of a species per cell cyclecycles - Number of cycles needed to reach steady statepublic static ITypeChecker getInstance()
public java.lang.String getName()
getName in interface ITypeCheckergetName in class ListTypeCheckerpublic java.lang.String getName(long pos)
getName in interface IStructuredTypeCheckergetName in class StructuredTypeCheckerpublic IDataElement getPrototype()
getPrototype in interface IStructuredTypeCheckergetPrototype in class StructuredTypeCheckerpublic ITypeChecker getTypeChecker(long pos)
getTypeChecker in interface IStructuredTypeCheckergetTypeChecker in class StructuredTypeCheckerpublic boolean isCompatible(ITypeChecker type)
isCompatible in interface ITypeCheckerisCompatible in class TypeCheckertype - Type to convert frompublic boolean validate(IDataElement data)
validate in interface ITypeCheckervalidate in class TypeCheckerdata - Data element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||