Files
richard-churchman cc0a2bee21 Extensive modifications to the serialisation of Neural Network models to support Newtonsoft Json.net rather than Binary Serializer.
Included open-source Accord.net library code natively to the solution given the deprecated state of that project.  Accord.net will be supported inside Jube for own needs (such as upgrading to .Net 7+).

Accord.net libraries modified to compile to .Net 6.

Modified Accord.net libraries to better support Newtonsoft Json.net serialisation.

Included annotations in the Accord.net libraries to house important dependency statistics. Serialised json can be used independently of Jube to recall a Neural Network.

Removal of Binary Serializer totally as a precursor to the projects support of .Net 7+.

Extensive bug fixing in crucial functions of Neural Network training and recall.  While this part of the system remains in Alpha, it is substantially more fit for purpose.
2023-12-24 10:22:22 +01:00

45 lines
1.5 KiB
C#

// AForge Math Library
// AForge.NET framework
// http://www.aforgenet.com/framework/
//
// Copyright © AForge.NET, 2007-2011
// [email protected]
//
namespace Accord.Math.Geometry
{
using System;
using System.Collections.Generic;
using AForge;
/// <summary>
/// Interface for shape optimizing algorithms.
/// </summary>
///
/// <remarks><para>The interface defines set of methods, which should be implemented
/// by shape optimizing algorithms. These algorithms take input shape, which is defined
/// by a set of points (corners of convex hull, etc.), and remove some insignificant points from it,
/// which has little influence on the final shape's look.</para>
///
/// <para>The shape optimizing algorithms can be useful in conjunction with such algorithms
/// like convex hull searching, which usually may provide many hull points, where some
/// of them are insignificant and could be removed.</para>
///
/// <para>For additional details about shape optimizing algorithms, documentation of
/// particular algorithm should be studied.</para>
/// </remarks>
///
public interface IShapeOptimizer
{
/// <summary>
/// Optimize specified shape.
/// </summary>
///
/// <param name="shape">Shape to be optimized.</param>
///
/// <returns>Returns final optimized shape, which may have reduced amount of points.</returns>
///
List<IntPoint> OptimizeShape( List<IntPoint> shape );
}
}