<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/networkx.git/networkx/algorithms/asteroidal.py, branch main</title>
<subtitle>github.com: networkx/networkx.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/'/>
<entry>
<title>Minor improvements from general code readthrough (#5414)</title>
<updated>2022-03-25T19:10:10+00:00</updated>
<author>
<name>Ross Barnowski</name>
<email>rossbar@berkeley.edu</email>
</author>
<published>2022-03-25T19:10:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=cc1db275efc709cb964ce88abbfa877798d58c10'/>
<id>cc1db275efc709cb964ce88abbfa877798d58c10</id>
<content type='text'>
* Add deprecated directive to reversed docstring.

* Add missing dep directives to shpfiles.

* Remove defn of INF sentinel.

* typo.

* str -&gt; comment in forloop.

* STY: appropriate casing for var name.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add deprecated directive to reversed docstring.

* Add missing dep directives to shpfiles.

* Remove defn of INF sentinel.

* typo.

* str -&gt; comment in forloop.

* STY: appropriate casing for var name.</pre>
</div>
</content>
</entry>
<entry>
<title>Format w/ black</title>
<updated>2020-07-10T16:44:54+00:00</updated>
<author>
<name>Jarrod Millman</name>
<email>jarrod.millman@gmail.com</email>
</author>
<published>2020-07-10T06:12:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=b22d6b36ce0545995c99d233546e8a1fe7e27fc5'/>
<id>b22d6b36ce0545995c99d233546e8a1fe7e27fc5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Upgrade to Py36 syntax</title>
<updated>2020-01-01T22:17:42+00:00</updated>
<author>
<name>Jarrod Millman</name>
<email>jarrod.millman@gmail.com</email>
</author>
<published>2019-12-31T07:57:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=0cd14f622daa0b70dcb1b8f3404e70383354fceb'/>
<id>0cd14f622daa0b70dcb1b8f3404e70383354fceb</id>
<content type='text'>
find networkx -name \*.py -exec pyupgrade --py36-plus {} \;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
find networkx -name \*.py -exec pyupgrade --py36-plus {} \;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove superfluous encoding information</title>
<updated>2019-11-11T21:39:06+00:00</updated>
<author>
<name>Jarrod Millman</name>
<email>jarrod.millman@gmail.com</email>
</author>
<published>2019-11-09T07:58:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=cd2bde7856dc8057c8269696110ffb75795edf13'/>
<id>cd2bde7856dc8057c8269696110ffb75795edf13</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove boiler plate from top of modules</title>
<updated>2019-11-11T21:39:06+00:00</updated>
<author>
<name>Jarrod Millman</name>
<email>jarrod.millman@gmail.com</email>
</author>
<published>2019-11-09T07:31:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=89daa927a0135a79cc69a75a3c89202158fa2ca7'/>
<id>89daa927a0135a79cc69a75a3c89202158fa2ca7</id>
<content type='text'>
The copyright and author stuff is not necessary, out-of-date,
and inconsistent.  It takes up visual space and is a pain to
police everyone doing the same thing on the top of the module.

Git handles authorship in a comprehensive and authoritative way.
The LICENSE.txt file applies to all project code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The copyright and author stuff is not necessary, out-of-date,
and inconsistent.  It takes up visual space and is a pain to
police everyone doing the same thing on the top of the module.

Git handles authorship in a comprehensive and authoritative way.
The LICENSE.txt file applies to all project code.
</pre>
</div>
</content>
</entry>
<entry>
<title>AT-free graph recognition (#3377)</title>
<updated>2019-06-29T23:00:01+00:00</updated>
<author>
<name>Haakon</name>
<email>haakonhr@gmail.com</email>
</author>
<published>2019-06-29T23:00:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=9835f96401935ea252c11fba2834db3a4f321f22'/>
<id>9835f96401935ea252c11fba2834db3a4f321f22</id>
<content type='text'>
* Included asteroidal module.

* Initial commit for asteroidal module.

The asteroidal module implements a function which checks whether
a given graph is AT-free or not.

* Tests for asteroidal.py

The tests include checks for small, well-known cases of
AT-free and non-AT-free graphs.

* Updated runtime for recognition algorithm in docstring.

* Included "r" to start docstring to enable LaTeX codes.

* Included .rst file for asteroidal module

* Fixed not implemented for decorator statements

If multiple types are inputed into a decorator this
works as an AND condition, but we want an OR condition.

* Refactoring of unnecessary work

The helper function in is_at_free now consists of a return
statement directly, which saves having to evaluate boolean
statements unneccesarily. The for loop in the component_strucutre
function now omits an unecessary generator definition.

* Updated docstring to reflect optional output and runtime.

The docstring now includes a more precise description of the
worst-case runtime. The optional output parameter `certificate`
is more thoroughly documented.

* Change optional output to a tuple including a bool

* Refactor tests to be shorter and more readable

* Included tests with certificate option enabled.

The certificate option outputs a certificate, if any exists,
which proves that a graph is not AT-free.

* Fix bug due to typo in tests

An 's' had snuck its way into an assert_equal statement,
and I didn't check properly before pushing.

* docstring for is_at_free re-structured and re-formulated.

* Split is_at_free method

The previous method had an extra parameter, `certificate`, that could be used
to decide whether the output should be a boolean value or a tuple with a
boolean value and a certificate. This has now been split into two functions:
`is_at_free` and `find_asteroidal_triple`, for more intuitive behaviour.

* Changed `is_at_free` to find_asteroidal_triple

The new version returns an asteroidal triple if one exists
and returns None if none exists. This method is used in the
new `is_at_free` method.

* Updated docstrings

Docstrings updated to reflect changed functionality and
new structure.

* Refactor `find_asteroidal_triple`

The previous version defined a function to check whether a
triple of vertices is an asteroidal triple. The current
version uses this function inline instead, to avoid many
function calls in order to increase performance.

* Refactored return statement in `is_at_free`

Removed the else block according to Chromium style guide.

* feat: expose `find_asteroidal_triple`

The find_asteroidal_triple is also imported when the asteroidal
module is imported.

* style: refactor is_at_free

The function can be written as a readable oneliner instead
of using an if else block.

* docs: asteroidal: updated module docstring

Rewrote module docstring to be more precise.

* chore: include find_asteroidal_triple in reference

The find_asteroidal_triple is now exposed when importing
the asteroidal module so the method should also be included
in the asteroidal.rst for auto-generation of documentation.

* Added myself, Haakon H. Rød, as a contributor

* chore: removed redundant tests

Some tests are no longer valid after changing the output
of `is_at_free` to purely boolean.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Included asteroidal module.

* Initial commit for asteroidal module.

The asteroidal module implements a function which checks whether
a given graph is AT-free or not.

* Tests for asteroidal.py

The tests include checks for small, well-known cases of
AT-free and non-AT-free graphs.

* Updated runtime for recognition algorithm in docstring.

* Included "r" to start docstring to enable LaTeX codes.

* Included .rst file for asteroidal module

* Fixed not implemented for decorator statements

If multiple types are inputed into a decorator this
works as an AND condition, but we want an OR condition.

* Refactoring of unnecessary work

The helper function in is_at_free now consists of a return
statement directly, which saves having to evaluate boolean
statements unneccesarily. The for loop in the component_strucutre
function now omits an unecessary generator definition.

* Updated docstring to reflect optional output and runtime.

The docstring now includes a more precise description of the
worst-case runtime. The optional output parameter `certificate`
is more thoroughly documented.

* Change optional output to a tuple including a bool

* Refactor tests to be shorter and more readable

* Included tests with certificate option enabled.

The certificate option outputs a certificate, if any exists,
which proves that a graph is not AT-free.

* Fix bug due to typo in tests

An 's' had snuck its way into an assert_equal statement,
and I didn't check properly before pushing.

* docstring for is_at_free re-structured and re-formulated.

* Split is_at_free method

The previous method had an extra parameter, `certificate`, that could be used
to decide whether the output should be a boolean value or a tuple with a
boolean value and a certificate. This has now been split into two functions:
`is_at_free` and `find_asteroidal_triple`, for more intuitive behaviour.

* Changed `is_at_free` to find_asteroidal_triple

The new version returns an asteroidal triple if one exists
and returns None if none exists. This method is used in the
new `is_at_free` method.

* Updated docstrings

Docstrings updated to reflect changed functionality and
new structure.

* Refactor `find_asteroidal_triple`

The previous version defined a function to check whether a
triple of vertices is an asteroidal triple. The current
version uses this function inline instead, to avoid many
function calls in order to increase performance.

* Refactored return statement in `is_at_free`

Removed the else block according to Chromium style guide.

* feat: expose `find_asteroidal_triple`

The find_asteroidal_triple is also imported when the asteroidal
module is imported.

* style: refactor is_at_free

The function can be written as a readable oneliner instead
of using an if else block.

* docs: asteroidal: updated module docstring

Rewrote module docstring to be more precise.

* chore: include find_asteroidal_triple in reference

The find_asteroidal_triple is now exposed when importing
the asteroidal module so the method should also be included
in the asteroidal.rst for auto-generation of documentation.

* Added myself, Haakon H. Rød, as a contributor

* chore: removed redundant tests

Some tests are no longer valid after changing the output
of `is_at_free` to purely boolean.
</pre>
</div>
</content>
</entry>
</feed>
