Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1035395 // IBStack - interface to a backtracking stack

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (8089L) is out of date.

1  
interface IBStack<A> extends IStackWithOptions {
2  
  // record an undoable action for backtracking
3  
  void addUndo aka temp(AutoCloseable undo);
4  
  
5  
  // initiate a backtrack
6  
  IBStack<A> backtrack();
7  
  
8  
  // get next result of computation
9  
  A nextResult();
10  
  A nextResultWithPrintStruct(long maxSteps);
11  
}

Author comment

Began life as a copy of #1035394

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035395
Snippet name: IBStack - interface to a backtracking stack
Eternal ID of this version: #1035395/7
Text MD5: f6334c4eb935578093371aa7f17bf034
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-05-08 20:58:57
Source code size: 311 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 142 / 220
Version history: 6 change(s)
Referenced in: [show references]