Package profiles
Class Profile2D
- java.lang.Object
-
- profiles.Profile2D
-
public class Profile2D extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add_entry(long key, Double value)
void
add_entry(long key, String content)
void
add_entry(long key, List<Double> new_values)
Profile2D
clone()
List<Double>
get(Long key)
TimeMap
get_change_following(float now)
float
get_dt()
Map<Long,Double>
get_ith_value(int i)
Set<Long>
get_nonzero_outlinks()
int
get_num_times()
Map<Long,Double>
get_value_for_time(float time)
boolean
have_key(long key)
void
validate(OTMErrorLog errorLog)
-
-
-
Constructor Detail
-
Profile2D
public Profile2D(float start_time, Float dt)
-
-
Method Detail
-
validate
public void validate(OTMErrorLog errorLog)
-
add_entry
public void add_entry(long key, String content) throws OTMException
- Throws:
OTMException
-
add_entry
public void add_entry(long key, Double value) throws OTMException
- Throws:
OTMException
-
add_entry
public void add_entry(long key, List<Double> new_values) throws OTMException
- Throws:
OTMException
-
get_num_times
public int get_num_times()
-
get_dt
public float get_dt()
-
have_key
public boolean have_key(long key)
-
get_change_following
public TimeMap get_change_following(float now)
-
clone
public Profile2D clone()
-
-