Patent ID: 6977931

Claim:
A method, comprising: storing a first data structure containing costs associated with transmitting data between routers in a network; combining the first data structure with itself to determine a cost of transmitting the data; transmitting the data along a route based on the calculated cost; and storing a second data structure defining router connections in the network, wherein storing the second data structure comprises storing a matrix defining router connections, wherein storing the first data structure comprises storing a matrix, wherein the costs are based on at least one of a distance, reliability, security, or expense of transmitting the data between routers in the network, wherein combining the first data structure with itself calculates the cost of transmitting the data between a source router and destination router in the network for a given number of steps at minimal cost, wherein the transmitting the data along the route further comprises determining the route between the source router and the destination router based on the cost matrix and the connection matrix.