Comments (7)
FYI I'm working on "2. Drop Scala 2.12 compatibility" now.
from scala-graph.
It would be great if you found time to work on the unfinished parts. Some suggestions:
- Just care about
core
first. - Drop Scala 2.12 compatibility by also merging back 2.13-specific folders and dropping compatibility helper types.
- Rename
State.scala-
back toState.scala
and make it compile. Refactor the accompanying test. To testState
in isolation may require some more sophisticated test setup, though. - Rename
GraphTraversal.scala-
back toGraphTraversal.scala
and make it compile. For the missing pieces try using???
temporarily. - Continue with
GraphTraversalImpl.scala
- andTraverserImpl.scala-
. - Once traversing sources compile, rename accompanying test sources back to Scala source files and refactor tests.
At this point you are almost done and, having bocome a Graph4Scala expert, you are able to continue on your own.
from scala-graph.
Unfortunately, core is half done. I renamed test source files because they were in way when refactoring step by step: https://github.com/scala-graph/scala-graph/tree/2.x/core/src/test/scala/scalax/collection. Notably the traversing part is still missing.
from scala-graph.
@peter-empen if I find some time to look into this, are there any pointers you can give on how to proceed with traversing or how you would like the API / implementation to look like?
from scala-graph.
Hi @peter-empen,
I gave this a shot yesterday. Unfortunately, State
can't be made to compile without the other classes because it has a this: GraphTraversalImpl
.
I went down the rabit hole and renamed the other required .scala-
files to .scala
, but now I've got ~570 compile errors, each of which currently takes me ~10 minutes to understand and fix.
It would probably get better with time, but still exceed the time I can invest by far...
Not sure how to proceed here...
from scala-graph.
Hi Martin,
Thank you for looking into this. Yeah, it's a real challenge. Sorry, I should have warned you before 😄. Let me give it a try in the following days...
from scala-graph.
I re-added a bunch of functionality in 53e0a65 but there is still much to do. From the above points, # 6 is missing but that's not all by far...
from scala-graph.
Related Issues (20)
- 1.13.x versions not released correctly HOT 3
- Immutable Graph nodes should be covariant HOT 2
- Insertions are not in constant time HOT 5
- Does scalagraph have the notion of a sourced graph? HOT 3
- Adding code for graph layout HOT 6
- Scala.js 1.1.0 support HOT 1
- Problem when trying to convert JSON to a Graph HOT 7
- Weird behaviour for diSuccessors, diPredecessors and isDirectPredecessorOf when node is connected to himself. HOT 3
- Constrained User Guide example is not reproducible HOT 3
- Wrong Operations in EqSetFacade HOT 1
- Finding all paths in a graph from node A to node B HOT 2
- Switch from Travis CI to Github Actions HOT 4
- Enable Scala-Steward on this project HOT 2
- Double (1.0) node is unexpectedly considered as self-successor HOT 9
- type inference not working for .toOuter; Scala 3, scala-graph 1.13.2 HOT 3
- Traversing mutable graphs in multi-thread HOT 4
- Topological sort may not return a node in a cycle when it fails HOT 1
- No potential Scala-Native release?
- Documentation issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scala-graph.