Skip to content

cran/dress.graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dress.graph (R)

A Continuous Framework for Structural Graph Refinement

DRESS is a deterministic, parameter-free framework that iteratively refines the structural similarity of edges in a graph to produce a canonical fingerprint: a real-valued edge vector, obtained by converging a non-linear dynamical system to its unique fixed point. The fingerprint is isomorphism-invariant by construction, guaranteed bitwise-equal across any vertex labeling, numerically stable (no overflow, no error amplification, no undefined behavior), fast and embarrassingly parallel to compute: DRESS total runtime is O(I * m * d_max) for I iterations to convergence, and convergence is guaranteed by Birkhoff contraction.

Install

CRAN hosts a stable release. For the latest version, install from GitHub.

# From CRAN (stable)
install.packages("dress.graph")

# From GitHub (latest)
# install.packages("remotes")
remotes::install_github("velicast/dress-graph", subdir="r")

Quick start

library(dress.graph)

result <- dress_fit(
  n_vertices = 4L,
  sources    = c(0L, 1L, 2L, 0L),
  targets    = c(1L, 2L, 3L, 3L)
)
print(result$edge_dress)

For the full API and documentation, see the main repository.

About

❗ This is a read-only mirror of the CRAN R package repository. dress.graph — DRESS - A Continuous Framework for Structural Graph Refinement. Homepage: https://github.com/velicast/dress-graphhttps://velicast.github.io/dress-graph/ Report bugs for this package: https://github.com/velicast/dress-graph/issu ...

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors