Git Product home page Git Product logo

3402-project's People

Contributors

prodge avatar wimomisterx avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

3402-project's Issues

Post Processing -> Merging Blocks

struct Match {
   row_ids [ ]
   columns [ ]
}

matches = [ ]
For block in blocks:
   matching_columns = [block.column]
    for other_block in blocks:
        if block is not in same column && block id list is the same:
            matching_columns.append(other_block.column)
    matches.append( {block.ids, sorted( matching_columns ) } )
    // Potentially just print this?

unique( matches )

-----------

struct merged_block {
    row_ids [ ] // variable size > max = columns * 3
    columns [] // variable size > max = columns
}

merged_blocks = []

for match in matches:
    merged_block = {
        ids: match.ids
        columns: match.columns
    }
    for other_match in matches:
        if SOME(match.ids are different) && some(match.ids are the same) && match.columns are the same)
            merged_block.ids.append( ids from other_match )
    merged_block.ids = sorted( merged_block.ids)
    merged_blocks.append(merged_block)
    // Potentially just print this

unique( merged_blocks )

Create header file

Create a header file with:

  • All function declarations
  • Constant declarations

Change helpers.h to helpers.c

Update makefile to work with this structure

Look at previous C projects for structure

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.