devel/rubygem-tsort 0.2.0 MidnightBSD
Topological sorting using Tarjan's algorithm
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- bsd2, ruby
- Categories
- devel, rubygems
Description
TSort implements topological sorting using Tarjan's algorithm for strongly connected components.
TSort is designed to be able to be used with any object which can be interpreted as a directed graph.
TSort requires two methods to interpret an object as a graph, tsort_each_node and tsort_each_child:
- tsort_each_node is used to iterate for all nodes over a graph.
- tsort_each_child is used to iterate for child nodes of a given node.
The equality of nodes are defined by eql? and hash since TSort uses Hash internally.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/rubygem-tsort | 0.2.0 |
| FreeBSD | devel/rubygem-tsort | 0.2.0 |
| DragonFly | devel/rubygem-tsort | 0.2.0 |
| HardenedBSD | devel/rubygem-tsort | 0.2.0 |
| GhostBSD | devel/rubygem-tsort | 0.2.0 |
Install
Binary package:
mport install tsort
From mports:
cd /usr/mports/devel/rubygem-tsort && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= tsort>0:devel/rubygem-tsort
Dependencies
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/tsort-0.2.0.gem | 10240 | 9650a793f6859a43b6641671278f79cfead60ac714148aabe4e3f0060480089f |
Master sites 1
- RG