/[drupal]/contributions/sandbox/aronnovak/graph_creating/routes.php
ViewVC logotype

Log of /contributions/sandbox/aronnovak/graph_creating/routes.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 15 19:19:24 2006 UTC (3 years, 3 months ago) by aronnovak
Branch: MAIN
CVS Tags: HEAD
Changes since 1.19: +48 -24 lines
Diff to previous 1.19
Beautifuled code and major bugfixes

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 7 17:03:05 2006 UTC (3 years, 3 months ago) by aronnovak
Branch: MAIN
Changes since 1.18: +22 -11 lines
Diff to previous 1.18
Minor modifications because of UI. Finally a_to_b is universal, dijkstra and bfs capable.

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 3 15:08:30 2006 UTC (3 years, 3 months ago) by aronnovak
Branch: MAIN
Changes since 1.17: +17 -5 lines
Diff to previous 1.17
Tweaks and new function (get_all_vertices_for_form) for the UI

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 25 08:59:33 2006 UTC (3 years, 4 months ago) by aronnovak
Branch: MAIN
Changes since 1.16: +16 -14 lines
Diff to previous 1.16
Solve lots of warnings - stronger variable-checking.

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 24 20:24:39 2006 UTC (3 years, 4 months ago) by aronnovak
Branch: MAIN
Changes since 1.15: +44 -44 lines
Diff to previous 1.15
Code speedup and clean. Added unit test for searching groups in network.

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 20 13:26:09 2006 UTC (3 years, 4 months ago) by aronnovak
Branch: MAIN
Changes since 1.14: +18 -4 lines
Diff to previous 1.14
Speed improvement in weight-handling. When the graph is created the values converted into weights so it's faster than compute every time when needed.

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 18 14:51:57 2006 UTC (3 years, 4 months ago) by aronnovak
Branch: MAIN
Changes since 1.13: +14 -9 lines
Diff to previous 1.13
Added a corrected edge-weight function. Pajek input generation speeded up. But edge-weight function is a big bottleneck now (explore.php is unusably slow), have to modify the concept. The script have to transform the edge-weight first so the edge-weight function can be very stupid and fast.

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 14 13:23:16 2006 UTC (3 years, 4 months ago) by aronnovak
Branch: MAIN
Changes since 1.12: +109 -30 lines
Diff to previous 1.12
Some cleanup and new things:
* Generate BFS-tree output to a Java tree-vis applet.
* Compute the average length of routes according to BFS

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 10 15:32:10 2006 UTC (3 years, 4 months ago) by aronnovak
Branch: MAIN
Changes since 1.11: +47 -2 lines
Diff to previous 1.11
Computing the clustering coefficiency.

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 4 17:04:26 2006 UTC (3 years, 4 months ago) by aronnovak
Branch: MAIN
Changes since 1.10: +106 -16 lines
Diff to previous 1.10
Show the distribution of the vertices' degree in a coordinate system. (SVG output).

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 29 15:38:13 2006 UTC (3 years, 4 months ago) by aronnovak
Branch: MAIN
Changes since 1.9: +89 -3 lines
Diff to previous 1.9
Collect groups from user set-> Two depth-first search.
Nasty and unchecked code (walk, mod_ and depth_first_search)

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 28 15:40:16 2006 UTC (3 years, 4 months ago) by aronnovak
Branch: MAIN
Changes since 1.8: +71 -136 lines
Diff to previous 1.8
The functions somewhat restructured. a_to_any put to common.php.
explore.php - cache the min. tree of vertex has lots of edges
common.php - moved to some function from routes.php
routes.php - start to code depth first search.
With depth first search I want to find the tight buddy-groups.

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 24 15:29:43 2006 UTC (3 years, 5 months ago) by aronnovak
Branch: MAIN
Changes since 1.7: +59 -109 lines
Diff to previous 1.7
Optimized Dijkstra algorithm. Approx. 2.5X faster.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 23 13:41:29 2006 UTC (3 years, 5 months ago) by aronnovak
Branch: MAIN
Changes since 1.6: +52 -8 lines
Diff to previous 1.6
Implemented a non-recursive algorithm to replace the previous one. This is definitely faster.
This is breadth first search.

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 22 20:14:29 2006 UTC (3 years, 5 months ago) by aronnovak
Branch: MAIN
Changes since 1.5: +58 -7 lines
Diff to previous 1.5
Implement graph roaming function. Should be rewrite in non-recursive way.

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 21 12:13:09 2006 UTC (3 years, 5 months ago) by aronnovak
Branch: MAIN
Changes since 1.4: +33 -37 lines
Diff to previous 1.4
Improved speed in routes.php and somewhat cleaner code.

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 20 17:35:34 2006 UTC (3 years, 5 months ago) by aronnovak
Branch: MAIN
Changes since 1.3: +55 -26 lines
Diff to previous 1.3
List the shortest route from A to B (in human readable form).
Caching the best routes tree.

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 19 20:05:36 2006 UTC (3 years, 5 months ago) by aronnovak
Branch: MAIN
Changes since 1.2: +71 -41 lines
Diff to previous 1.2
Now the Dijksta algorithm is tested and somewhat code-cleaned (not speed optimized). Working on to print the route between A and B. The common.php is extended (and the explore.php is shrinked). The get_real_name function is a common thing.

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 17 10:55:30 2006 UTC (3 years, 5 months ago) by aronnovak
Branch: MAIN
Changes since 1.1: +105 -24 lines
Diff to previous 1.1
In routes.php Dijkstra algorithm (best routes from one vertex) is implemented. In some cases it works nicely.
Yet the code is very obfuscated and not tested with big graphs. I have to rewrite this to achieve readable and optimal code.

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 16 14:21:56 2006 UTC (3 years, 5 months ago) by aronnovak
Branch: MAIN
Now the script is able to create graph from accesslog table and buddylist module. It split into three files. The common.php contains the common parts, the explore.php create a graph and the dot file for graphviz. The routes.php can answer the question that what is the shortest route between users. The routes.php is very incomplete, not functional yet.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2