×

Compressing dependency graphs in a social network

  • US 8,997,072 B1
  • Filed: 08/23/2012
  • Issued: 03/31/2015
  • Est. Priority Date: 07/13/2012
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for compressing a dependency graph in a social network, by replacing the dependency graph with a transitive reduction, the method comprising:

  • receiving, using the one or more computing devices, the dependency graph;

    sorting, using the one or more computing devices, one or more nodes in the dependency graph, into a valid dependency ordering, wherein nodes depend on nodes that appear earlier in a list of nodes for the dependency graph;

    iterating, using the one or more computing devices, through the dependency graph in valid dependency ordering, by creating a dependency map of dependencies determined for each of the one or more nodes in the list;

    iterating, using the one or more computing devices, through the dependency graph in valid dependency ordering, for each node in the dependency graph, in reverse order, wherein the iterating in reverse order further comprises;

    starting at a last indicated dependency of an end node in the dependency map for each node in the dependency graph, and iterating, using the one or more computing devices, through the one or more dependent nodes in the dependency map to a beginning node in the dependency map, in reverse order to determine whether each single dependency of a dependent node is representative of a transitive dependency for any previous iterated dependencies, wherein a transitive dependency comprises a dependency on a node that is already dependent on another node; and

    in response to determining a transitive dependency, removing, using the one or more computing devices, the single dependency.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×