Skip to content

GobiShanthan/DagSolution

Repository files navigation

DagSolution

Overview

DagSolution is a Go implementation of a Directed Acyclic Graph (DAG) approach, suitable for various computational applications like task scheduling, dependency resolution, and more.

Features

  • DAG implementation in Go
  • Reads data from a single JSON file (data.json)
  • Simple execution with minimal setup

Prerequisites

Setup and Running

  1. Clone the repository

    git clone <repository_url>
    cd DagSolution
  2. Run the application

    go run .

Data Format

The application expects a JSON file with an array of objects, each containing:

  • date: A string representing the date
  • price: A floating-point number representing the price

Sample Data

[
    {
        "date": "2023-07-17",
        "price": 1871.63
    },
    {
        "date": "2023-07-18",
        "price": 1817.13
    }
]

Customization

Modify data.json to process your own data set.

About

DagSolution for true layer one

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages