Constructor for temporal network points of instant subtype
tnpoint_inst(val npoint,t timestamptz):tnpoint_inst
SELECT tnpoint_inst('Npoint(1, 0.5)', '2000-01-01'); -- NPoint(1,0.5)@2000-01-01
Constructors for temporal network points of instant set subtype
tnpoint_instset(tnpoint[]):tnpoint_instset
tnpoint_instset(npoint,timestampset):tnpoint_instset
SELECT tnpoint_instset(ARRAY[tnpoint 'Npoint(1, 0.3)@2000-01-01', 'Npoint(1, 0.5)@2000-01-02', 'Npoint(1, 0.5)@2000-01-03']); -- {NPoint(1,0.3)@2000-01-01, NPoint(1,0.5)@2000-01-02, NPoint(1,0.5)@2000-01-03} SELECT tnpoint_instset('Npoint(1, 0.3)', '{2000-01-01, 2000-01-03, 2000-01-05}'); -- {NPoint(1,0.3)@2000-01-01, NPoint(1,0.3)@2000-01-03, NPoint(1,0.3)@2000-01-05}
Constructor for temporal network points of sequence subtype
tnpoint_seq(tnpoint[],lower_inc boolean=true,upper_inc boolean=true,
linear boolean=true):tnpoint_seq
tnpoint_seq(npoint,period,linear boolean=true):tnpoint_seq
SELECT tnpoint_seq(ARRAY[tnpoint 'Npoint(1, 0.2)@2000-01-01', 'Npoint(1, 0.4)@2000-01-02', 'Npoint(1, 0.5)@2000-01-03']); -- [NPoint(1,0.2)@2000-01-01, NPoint(1,0.4)@2000-01-02, NPoint(1,0.5)@2000-01-03] SELECT tnpoint_seq(npoint 'Npoint(1, 0.2)', '[2000-01-01, 2000-01-03]', false); -- Interp=Stepwise;[NPoint(1,0.2)@2000-01-01, NPoint(1,0.2)@2000-01-03]
Constructor for temporal network points of sequence set subtype
tnpoint_seqset(tnpoint[]):tnpoint_seqset
tnpoint_seqset(npoint,periodset,boolean=true):tnpoint_seqset
SELECT tnpoint_seqset(ARRAY[tnpoint '[Npoint(1, 0.2)@2000-01-01, Npoint(1, 0.4)@2000-01-02, Npoint(1, 0.5)@2000-01-03]', '[Npoint(2, 0.6)@2000-01-04, Npoint(2, 0.6)@2000-01-05]']); -- {[NPoint(1,0.2)@2000-01-01, NPoint(1,0.4)@2000-01-02, NPoint(1,0.5)@2000-01-03], [NPoint(2,0.6)@2000-01-04, NPoint(2,0.6)@2000-01-05]}