Recent

Author Topic: Graphs - Data structure (not graphics)  (Read 3719 times)

avk

  • Full Member
  • ***
  • Posts: 155
    • my self-education project
Re: Graphs - Data structure (not graphics)
« Reply #15 on: September 13, 2019, 06:49:32 pm »
@Avra, I think this is somewhat premature, but thanks anyway.
@zamtmn, maybe you should also add a link to your library on the wiki? And it would be interesting someday to compare the capabilities and performance of both libraries.
@jamie, I believe that programs are not bloated by libraries, but by programmers who copy the entire(dynamic)
array when they need to read only three consecutive values from this array.

zamtmn

  • Sr. Member
  • ****
  • Posts: 365
Re: Graphs - Data structure (not graphics)
« Reply #16 on: September 13, 2019, 08:04:52 pm »
This isn't my library.
>>Copyright (C) Alexey A. Chernobaev, 1996-2003
I couldn't find the author, it's been a long time. I do not know analogues of this library, it implements not just a tree container, this is a full implementation of graphs and algorithms over them. For example - finding the shortest path

avk

  • Full Member
  • ***
  • Posts: 155
    • my self-education project
Re: Graphs - Data structure (not graphics)
« Reply #17 on: September 13, 2019, 08:43:06 pm »
Well, does it probably have any license?

zamtmn

  • Sr. Member
  • ****
  • Posts: 365
Re: Graphs - Data structure (not graphics)
« Reply #18 on: September 13, 2019, 08:48:51 pm »
https://github.com/zamtmn/zcad/blob/master/cad_source/other/AGraphLaz/LICENSE the license is only for one part of the library, that's all the author left us
« Last Edit: September 13, 2019, 08:53:45 pm by zamtmn »

avk

  • Full Member
  • ***
  • Posts: 155
    • my self-education project
Re: Graphs - Data structure (not graphics)
« Reply #19 on: September 14, 2019, 07:39:39 am »
Yes, I have read it. I am not a lawyer, but it seems that there is nothing that would prohibit you from distributing this library under any kind of permissive license, provided that authorship is preserved. Or did I understand something wrong?

avra

  • Hero Member
  • *****
  • Posts: 1717
    • Additional info
Re: Graphs - Data structure (not graphics)
« Reply #20 on: September 14, 2019, 08:43:01 am »
I am not a lawyer, but it seems that there is nothing that would prohibit you from distributing this library under any kind of permissive license, provided that authorship is preserved. Or did I understand something wrong?
You can not change the license of the library, it stays MPL. You can mix it with other source code without making it viral to your code. I might be wrong, so better check this:
https://tldrlegal.com/license/mozilla-public-license-2.0-(mpl-2)
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib