GithubHelp home page GithubHelp logo

fwcd / fructose Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 1.0 2.39 MB

General-purpose utilities featuring mathematical, functional and reactive abstractions for Java

License: MIT License

Java 100.00%
java-8 general-purpose math data-structures game-development machine-learning

fructose's Introduction

Fructose

Build Status

A general-purpose Java library providing an extensive set of utilities.

  • Math
    • Complex numbers
    • Computation graph differentiation
    • Tensors, matrices, vectors
    • Prime sieves
    • Geometry
  • Data structures
    • Stacks
    • Tables
    • Trees
    • Graphs
  • Listenables
    • Observables
    • Observable lists
    • Observable sets
    • Observable maps
  • Functors and monads
    • Option
    • Either
    • Pair
    • Lazy
    • Result
  • Machine learning
    • Perceptrons
    • Q-learning
  • Genetic algorithms
  • IO
    • New File API
  • Game AI
    • Minimax/AlphaBeta
    • Monte Carlo tree search
  • Swing
    • Lots of useful GUI utility classes
  • Time
    • Stopwatches
    • Timers
  • Small, noteworthy classes
    • Probability distributions
    • Permutators
    • Annotations
    • Properties
    • Parsers

Building

  • macOS/Linux: ./gradlew build
  • Windows: gradlew build

fructose's People

Contributors

fwcd avatar savvasth96 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

savvasth96

fructose's Issues

Functional lenses

Lenses provide a convenient and composable way to access values in deep, immutable structures.

Move quantum simulator to separate repo

The quantum computing API does not fit very well into this project as it is too specialized to be considered part of a general-purpose utility collection.

Implement Observable collections

Although Observable<T> provides a basic implementation of the Observer pattern, it would be useful to have more fine-grained observer classes, especially collections.

  • ReadOnlyObservableList
  • ReadOnlyObservableSet
  • ReadOnlyObservableMap
  • ObservableList
  • ObservableSet
  • ObservableMap

CI and deployment

Connect a continuous integration server to this project and (preferably automatically) deploy to an external repository.

Functional Monads

Java 8 provides the built-in Optional type, but it would be nice have further Monads like:

  • NonNull<T>
  • Either<A, B>
  • Improved Lazy<T> (implement map and factory methods)
  • Result<T, E> (storing a value or an exception - similar to Either)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.