Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

Andy Oct2021

@Andy Oct2021
About
Posts
4
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Very smart pointers
    A Andy Oct2021

    Yes,even more complicated but no proof that all.

    Algorithms c++ swift com algorithms data-structures

  • Very smart pointers
    A Andy Oct2021

    Reference counting enable automated releasing memory if no cycles. Users who use smartpointers in C++ or Swift language must be carefully and proper use weak pointers.
    I think about extend smartpointers to manage cycles and start new language which can use this algorithm.
    I don’t know if algorithm is correct for all possible graphs and graph forest (set) and all possible adding, removing edges in runtime.
    Preview this algorithm
    Block must have:

    • standard ref count (use count)
    • weak count
    • outgoing count
    • link_number
      In other hand pointers have standard with unlike fat(double) smartpointers in C++.
      For further info, current version biggest method
      https://github.com/parstools/smart/blob/86ca62e9bc6c4dc2e5a2de2408594bedb430140e/testCpp/dyncycles.cpp#L53

    main is https://github.com/parstools/smart/blob/86ca62e9bc6c4dc2e5a2de2408594bedb430140e/testCpp/main.cpp#L287

    Is possible proof correctness this algorithm or find leaks?

    Algorithms c++ swift com algorithms data-structures

  • Special minimum spanning tree
    A Andy Oct2021

    Problem is with directed graph, because is possible many vertex links to one. It is reverse tree. This means,that is impossible leaving spanning tree. Question is another: how detect cycles and remove all cycles?

    Algorithms data-structures

  • Special minimum spanning tree
    A Andy Oct2021

    All algorithms for MST I meet, uses indirect graph and search minimum weight. I need a bit other: my graph is directed, weights are unimportant, all are = 1. Is not necessary find minimal tree, but ANY tree without cycles, although tree with minimal number of edges will be nice. Most important is - graph must be directed.

    Algorithms data-structures
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups