public enum TimeRepresentation extends Enum<TimeRepresentation>
Both the elements (i.e nodes and edges) existence in time and the attributes' values in time can be represented in two different ways: using timestamps or using intervals. They can be mixed thought and therefore need to be configured by the user.
Each representation has its advantages and disadvantages. For instance, timestamps are great when observations are made at fixed periods. On the other hand, intervals are great when the time is arbitrary and elements or attributes have long continuous existence.
Configuration
Enum Constant and Description |
---|
INTERVAL
Interval representation (continuous).
|
TIMESTAMP
Timestamp representation (fixed).
|
Modifier and Type | Method and Description |
---|---|
static TimeRepresentation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeRepresentation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeRepresentation TIMESTAMP
Time is represented using timestamps. Timestamps are single value and represent a single moment in time.
public static final TimeRepresentation INTERVAL
Time is represented using intervals, with a beginning and an end. Intervals are always included on both bounds but allows an infinite bound.
public static TimeRepresentation[] values()
for (TimeRepresentation c : TimeRepresentation.values()) System.out.println(c);
public static TimeRepresentation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2007–2015 Gephi Consortium. All rights reserved.