Package profiles
Class SplitMatrixProfile
- java.lang.Object
-
- profiles.SplitMatrixProfile
-
public class SplitMatrixProfile extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Map<Long,Double>
outlink2split
Set<Long>
outlinks_without_splits
double
total_split
-
Constructor Summary
Constructors Constructor Description SplitMatrixProfile(long commodity_id, Link link_in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
get_comm_id()
float
get_dt()
Link
get_link_in()
Map<Long,List<Double>>
get_outlink_to_profile()
Profile2D
get_splits()
float
get_start_time()
void
initialize(Dispatcher dispatcher)
void
register_next_change(Dispatcher dispatcher, TimeMap time_map)
Long
sample_output_link()
void
set_and_rectify_splits(Map<Long,Double> newsplit, Long linkrectify)
void
set_current_splits(Map<Long,Double> outlink2split)
void
set_splits(Profile2D x)
void
validate_pre_init(Scenario scenario, OTMErrorLog errorLog)
-
-
-
Constructor Detail
-
SplitMatrixProfile
public SplitMatrixProfile(long commodity_id, Link link_in)
-
-
Method Detail
-
validate_pre_init
public void validate_pre_init(Scenario scenario, OTMErrorLog errorLog)
-
initialize
public void initialize(Dispatcher dispatcher) throws OTMException
- Throws:
OTMException
-
sample_output_link
public Long sample_output_link()
-
set_and_rectify_splits
public void set_and_rectify_splits(Map<Long,Double> newsplit, Long linkrectify)
-
register_next_change
public void register_next_change(Dispatcher dispatcher, TimeMap time_map)
-
get_splits
public Profile2D get_splits()
-
set_splits
public void set_splits(Profile2D x)
-
get_dt
public float get_dt()
-
get_start_time
public float get_start_time()
-
get_comm_id
public long get_comm_id()
-
get_link_in
public Link get_link_in()
-
-