assign_aon: AON assignment

Description Usage Arguments Value

View source: R/assign_aon.R

Description

Perform the all-or-nothing assignment of Frank-Wolfe algorithm in the User Equilibrium Traffic Assignment Model. This function is a wrapper for dodgr 'R/dodgr_flows_aggregate.R' for more information on the function see dodgr documentation

Usage

1
assign_aon(graph, from, to, flows)

Arguments

graph

graph object created with configure_graph() function

from

Vector or matrix of points from which aggregate flows are to be calculated

to

Vector or matrix of points to which aggregate flows are to be calculated

flows

Matrix of flows with nrow(flows)==length(from) and ncol(flows)==length(to)

Value

graph object with assignment on 'flow' column


douglascm/trafficr documentation built on March 13, 2020, 11:44 a.m.