Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6878027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:40:22+00:00 2026-05-27T04:40:22+00:00

What are some good algorithms for extracting hierarchical structure from sequences? My primary concern

  • 0

What are some good algorithms for extracting hierarchical structure from sequences?

My primary concern is compressing the sequence, and the sequence has some hierarchical structure to it. I’m not too worried about runtime of the algorithm, though the length of the sequence is up to 256k symbols, and it shouldn’t run longer than a few seconds.

So far I’m aware of the sequitur algorithm, and I’d like to know of any other algorithms/ideas that could be similarly useful.

EDIT: The decompression needs to be very simple.

EDIT2: I am compressing code. I have elaborated a rather large function into a huge basic block of code that runs faster than the original recursive function for some sizes, but then the code grows to be unwieldy and large as I vary a parameter. I have been experimenting with sequitur to compress the fully elaborated function, and it works well — it allows me to achieve some middle ground between the recursive function and the fully elaborated basic block. I’m now wondering if there are other algorithms I should try as well.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T04:40:22+00:00Added an answer on May 27, 2026 at 4:40 am

    LZ77 and LZ78 and the Burrows-Wheeler Transform are a good way to start. The first two work well with streamed data and can have very fast implementations. The pure dictionary style of LZ78 is well suited to extracting hierarchical structures.

    If you were less concerned about fast compression and just wanted the structure, the sequitur algorithm will be hard to beat — AFAICT, it is the best in class.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building from scratch a web application that is not trivial (have some algorithms
What are some good algorithms for automatically labeling text with the city / region
What are some good steps to follow for a smooth migration from PHP4 to
does anyone know about some good sources about counting complexity of recursive algorithms? somehow
Continuing from this thread: What are good algorithms for vehicle license plate detection? I've
What are some good resources for learning about DSP (including the mathematics and algorithms
Given a string like this: a,string, with,various,values, and some,quoted What is a good algorithm
can you recommend some good ASP.NET tutorials or a good book? Should I jump
What are some good resources to learn best practices for Javascript? I'm mainly concerned
Can you suggest some good MVC framework for perl -- one I am aware

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.