Registry / utility / acyclic-2-12

acyclic-2-12

JSON →
library0.2.1javamavenunverified

A Scala library for detecting cycles in directed graphs, built for Scala 2.12.

<dependency> <groupId>com.lihaoyi</groupId> <artifactId>acyclic_2.12</artifactId> <version>0.2.1</version> </dependency>
INSTALL
IMPORT
SIG · ACYCLIC-2-12
A
acyclic-2-12
utilityjavav0.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Acyclic
acyclic.Acyclic

Detect cycles in a directed graph using Acyclic.

import acyclic.Acyclic object Example extends App { val graph = Map(1 -> List(2), 2 -> List(3), 3 -> List(1)) println(Acyclic.detect(graph)) // prints true if cyclic }
Debug
Known issues
breakingThis package is specific to Scala 2.12; not compatible with other Scala versions.
fix
Use the appropriate artifact for your Scala version (e.g., acyclic_2.13).
affects: >=0.2.0
Upgrade
Version history
0.2.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
28
Meta
1
OpenAI (training)
1
Resources
acyclic-2-12 — mvn dependency:get acyclic-2-12 · libregistry