com.cyc.cycjava.cycl.sbhl
Class sbhl_graphs

java.lang.Object
  extended by com.cyc.tool.subl.util.SubLTrampolineFile
      extended by com.cyc.tool.subl.util.SubLTranslatedFile
          extended by com.cyc.cycjava.cycl.sbhl.sbhl_graphs
All Implemented Interfaces:
CommonSymbols, SubLFile

public final class sbhl_graphs
extends SubLTranslatedFile


Nested Class Summary
 
Nested classes/interfaces inherited from class com.cyc.tool.subl.util.SubLTranslatedFile
SubLTranslatedFile.SubL
 
Field Summary
static SubLObject $const50$Individual
           
static SubLObject $const54$InferencePSC
           
static SubLSymbol $default_number_of_concurrent_readers$
           
static SubLSymbol $default_number_of_terms_checked$
           
static SubLFloat $float47$0_1
           
static SubLInteger $int2$100
           
static SubLInteger $int43$500
           
static SubLSymbol $kw10$UNINITIALIZED
           
static SubLSymbol $kw13$ERROR
           
static SubLSymbol $kw16$CERROR
           
static SubLSymbol $kw18$WARN
           
static SubLSymbol $kw23$ALLOW_OTHER_KEYS
           
static SubLSymbol $kw24$MODULE
           
static SubLSymbol $kw25$DONE
           
static SubLSymbol $kw9$INITIALIZED
           
static SubLList $list21
           
static SubLList $list22
           
static SubLList $list28
           
static SubLList $list32
           
static SubLList $list37
           
static SubLList $list52
           
static SubLSymbol $sbhl_backing_file_vector_cache_constructor$
          The allocator to use to get the new caches.
static SubLSymbol $sbhl_backing_file_vector_cache_gather_cache_metricsP$
          Whether the caches are supposed to keep metrics of their performance or not.
static SubLSymbol $sbhl_backing_file_vector_cache_minimum_size$
          The minimal size of the cache, in the case of small population (e.g.
static SubLSymbol $sbhl_backing_file_vector_cache_size_percentage$
          The percentage of the graph size for the module that should be cached in memory
static SubLSymbol $sbhl_backing_file_vector_caches_for_modules$
          An ALIST-P that houses the association map from caches on a per-module basis
static SubLSymbol $sbhl_backing_file_vector$
          The file vector that backs the SBHL graph.
static SubLSymbol $sbhl_file_vector_data_stream_lock$
          The lock for ensuring that CFASL input against the stream is uninterrupted.
static SubLString $str14$_A_is_not_a__A
           
static SubLString $str17$continue_anyway
           
static SubLString $str19$_A_is_not_a_valid__sbhl_type_erro
           
static SubLString $str33$Capacity______Hits____Misses__Sma
           
static SubLString $str34$_________________________________
           
static SubLString $str36$___A
           
static SubLString $str38$_6_A__9_A__9_A__
           
static SubLString $str39$___
           
static SubLString $str4$SBHL_File_Vector_Data_Stream_lock
           
static SubLString $str40$_6_d__9_d__9_d_____A__
           
static SubLString $str41$___
           
static SubLString $str42$
           
static SubLString $str44$Concurrent_Reads_Stress_Test_Prob
           
static SubLString $str45$Concurrent_SBHL_Reader_
           
static SubLString $str51$Concurrent_Cache_Strategy_Stress_
           
static SubLString $str6$sbhl_module_graphs
           
static SubLString $str7$cfasl
           
static SubLString $str8$sbhl_module_graphs_index
           
static SubLSymbol $sym0$_SBHL_BACKING_FILE_VECTOR_
           
static SubLSymbol $sym1$_SBHL_BACKING_FILE_VECTOR_CACHES_FOR_MODULES_
           
static SubLSymbol $sym11$CACHE_STRATEGY_OR_SYMBOL_P
           
static SubLSymbol $sym12$SBHL_MODULE_P
           
static SubLSymbol $sym15$SBHL_DIRECTION_LINK_P
           
static SubLSymbol $sym20$SBHL_NODE_OBJECT_P
           
static SubLSymbol $sym26$MAP
           
static SubLSymbol $sym27$WITH_CFASL_COMMON_SYMBOLS_SIMPLE
           
static SubLSymbol $sym29$CLET
           
static SubLSymbol $sym3$_SBHL_FILE_VECTOR_DATA_STREAM_LOCK_
           
static SubLSymbol $sym30$GET_SBHL_GRAPH
           
static SubLSymbol $sym31$DO_FILE_VECTOR_BACKED_MAP
           
static SubLSymbol $sym35$FORT__
           
static SubLSymbol $sym46$STRESS_TEST_READ_RANDOMLY_FROM_SBHL
           
static SubLSymbol $sym48$VALID_PROCESS_P
           
static SubLSymbol $sym49$CATCH_ERROR_MESSAGE_HANDLER
           
static SubLSymbol $sym5$NEW_METERED_PREALLOCATED_CACHE
           
static SubLSymbol $sym53$STRESS_TEST_CHECK_SAME_SPECS
           
static SubLFile me
           
static java.lang.String myName
           
 
Fields inherited from class com.cyc.tool.subl.util.SubLTranslatedFile
EMPTY_SUBL_OBJECT_ARRAY
 
Fields inherited from interface com.cyc.tool.subl.jrtl.nativeCode.subLisp.CommonSymbols
ANSWER_TAG, APPEND_KEYWORD, APPEND_STACK_TRACES_TO_ERROR_MESSAGES, AREF, ASSEMBLE_FIXNUMS_TO_INTEGER, ATOM, BIGNUMP, BINARY_KEYWORD, BINDING_TYPE, BOOLEANP, CAAR, CADR, CAND, CAR, CCATCH, CDEC, CDESTRUCTURING_BIND, CDO, CDO_ALL_SYMBOLS, CDO_EXTERNAL_SYMBOLS, CDO_SYMBOLS, CDOHASH, CDOLIST, CDOTIMES, CDR, CHAR, CHAR_E_SYMBOL, CHAR_EQUAL_SYMBOL, CHAR_GREATER_THAN_OR_EQUAL_SYMBOL, CHAR_GREATER_THAN_SYMBOL, CHAR_GT_SYMBOL, CHAR_GTE_SYMBOL, CHAR_LESS_THAN_OR_EQUAL_SYMBOL, CHAR_LESS_THAN_SYMBOL, CHAR_LT_SYMBOL, CHAR_LTE_SYMBOL, CHAR_NE_SYMBOL, CHAR_NOT_EQUAL_SYMBOL, CHARACTERP, CHECK_TYPE, CINC, CLET, CMULTIPLE_VALUE_BIND, CNOT, CONS, CONSP, CONSTANT, COR, CPOP, CPROGV, CPUSH, CPUSHNEW, CREATE_KEYWORD, CSETF, CSETQ, CSOME, CTIME, CUNWIND_PROTECT, CVS_ID, DEBUG_IO, DECLAIM, DECLARE, DEFCONSTANT, DEFINE, DEFLEXICAL, DEFMACRO, DEFPARAMETER, DEFVAR, DIRECTION_KEYWORD, DYNAMIC, EIGHT_INTEGER, EIGHTEEN_INTEGER, ELEMENT_TYPE_KEYWORD, ELEVEN_INTEGER, END_KEYWORD, ENFORCE_MUST, ENFORCE_TYPE, EQ, EQL, EQUAL, EQUALP, ERROR, ERROR_KEYWORD, ERROR_OUTPUT, EVAL, EXTERNAL_FORMAT_KEYWORD, EXTERNAL_KEYWORD, FIF, FIFTEEN_INTEGER, FIRST, FIVE_INTEGER, FIXNUMP, FLOATP, FOUR_INTEGER, FOURTEEN_INTEGER, FUNCTION, FUNCTION_SPEC_P, FUNCTIONP, FUNLESS, FWHEN, GET, GETHASH, GETHASH_WITHOUT_VALUES, GUID_P, HASH_TABLE_ITERATOR_P, HASH_TABLE_P, IDENTITY, IF_DOES_NOT_EXIST_KEYWORD, IF_EXISTS_KEYWORD, IGNORE, INITIALIZATION_TYPE, INITIALIZER, INPUT_KEYWORD, INPUT_STREAM_P, INTEGERP, INTERNAL_KEYWORD, IO_KEYWORD, KEYWORDP, KILL_KEYWORD, LAMBDA_SYMBOL, LEXICAL, LIST, LISTP, LISTS, LOCK_P, LONG_BIGNUM_P, MACRO_ENV, MACRO_FORM, MEDIUM_BIGNUM_P, MEMBER, MINUS_ONE_INTEGER, MULTIPLE_VALUE_LIST, MUST, NCONC, NEW_VERSION_KEYWORD, NIL, NINE_INTEGER, NINETEEN_INTEGER, NREVERSE, NTH, NTH_VALUE, NULL, NULL_INPUT, NULL_OUTPUT, NUM_E_SYMBOL, NUM_GT_SYMBOL, NUM_GTE_SYMBOL, NUM_LT_SYMBOL, NUM_LTE_SYMBOL, NUM_NE_SYMBOL, NUMBERP, ONE_HUNDRED_THIRTY_SEVEN_INTEGER, ONE_HUNDRED_TWENTY_SEVEN_INTEGER, ONE_INTEGER, ONE_THOUSAND_INTEGER, OPTIONAL_SYMBOL, OTHERWISE, OUTPUT_KEYWORD, OUTPUT_STREAM_P, OVERWRITE_KEYWORD, PACKAGEP, PCASE, PCOND, PIF, PROBE_KEYWORD, PROCESS_TO_END, PROCESSP, PROCLAIM, PROGN, PUNLESS, PWHEN, QUERY_IO, QUIT, QUOTE, RENAME_AND_DELETE_KEYWORD, REST_SYMBOL, RET, RET_NIL, RET_T, RETURN_TAG, REVERSE, RW_LOCK_P, SECOND, SEQUENCEP, SEVEN_INTEGER, SEVENTEEN_INTEGER, SHORT_BIGNUM_P, SHOW_STACK_TRACES, SIX_INTEGER, SIXTEEN_INTEGER, SIXTY_FOUR_INTEGER, SORT, SSS, STANDARD_INPUT, STANDARD_OUTPUT, START_KEYWORD, STREAMP, STRING_E_SYMBOL, STRING_EQUAL_SYMBOL, STRING_GREATER_THAN_OR_EQUAL_SYMBOL, STRING_GREATER_THAN_SYMBOL, STRING_GT_SYMBOL, STRING_GTE_SYMBOL, STRING_LESS_THAN_OR_EQUAL_SYMBOL, STRING_LESS_THAN_SYMBOL, STRING_LT_SYMBOL, STRING_LTE_SYMBOL, STRING_NE_SYMBOL, STRING_NOT_EQUAL_SYMBOL, STRINGP, STRUCTURE_P, SUPERSEDE_KEYWORD, SUSPEND_TYPE_CHECKING, SYMBOL_FUNCTION, SYMBOL_VALUE, SYMBOLP, T, TEN_INTEGER, TERMINAL_IO, TEXT_KEYWORD, THIRTEEN_INTEGER, THIRTY_FOUR_INTEGER, THIRTY_THREE_INTEGER, THIRTY_TWO_INTEGER, THREE_INTEGER, TRACE_OUTPUT, TRUE, TWELVE_INTEGER, TWENTY_INTEGER, TWO_HUNDRED_FIFTY_FOUR_INTEGER, TWO_HUNDRED_FORTY_FOUR_INTEGER, TWO_INTEGER, UNDECLARED, UNPROVIDED, VALUES, VECTOR, VECTORP, WITH_ERROR_HANDLER, WITH_STATIC_AREA, WITH_THREAD_PRIVATE_AREA, WITH_WORKING_AREA, WORLD, ZERO_DOUBLE, ZERO_INTEGER
 
Method Summary
static SubLObject cache_capacity_for_cache_strategy_for_sbhl_module(SubLObject sbhl_module)
          Compute the cache capacity as a percentage of the known size of the SBHL module graph, but clamp it to the minimum from below.
static SubLObject declare_sbhl_graphs_file()
           
 void declareFunctions()
          Declares the mapping between functions and symbols for all named functions defined in the file.
static SubLObject get_cache_strategy_for_sbhl_module(SubLObject sbhl_module)
          Either fetch or allocate the CACHE-STRATEGY-P for the SBHL module provided.
static SubLObject get_sbhl_graph_link_from_graph(SubLObject node, SubLObject graph, SubLObject v_cache)
          Get the graph link from the graph, potentially swapping it in from the file vector backing.
static SubLObject get_sbhl_graph_link(SubLObject node, SubLObject module)
          Accessor: @return direction-link-p; the sbhl-direction-link structure for NODE within graph corresponding to PRED.
static SubLObject init_sbhl_graphs_file()
           
static SubLObject initialize_sbhl_graph_caches_during_load_kb(SubLObject data_file, SubLObject index_file)
          This is called by the load KB command after swapping in the references.
static SubLObject initialize_sbhl_graph_caches_file_vector(SubLObject data_file, SubLObject index_file)
           
static SubLObject initialize_sbhl_graph_caches()
           
 void initializeVariables()
          Initializes all global variables and private internal variables for constants defined in the file.
static SubLObject make_new_sbhl_graph()
           
static SubLObject new_cache_strategy_for_sbhl_module(SubLObject sbhl_module, SubLObject capacity)
          Allocate the cache strategy object for the SBHL graph file vector.
static SubLObject put_sbhl_graph_link_into_graph(SubLObject node, SubLObject graph, SubLObject v_cache, SubLObject value)
          Modify the graph in such a fashion that the file vector backed map can track the modification.
static SubLObject remove_sbhl_graph_link_from_graph(SubLObject node, SubLObject graph, SubLObject v_cache)
          Remove that node from the graph, with potential modifications that can be tracked by the file vector backing infrastructure.
static SubLObject remove_sbhl_graph_link(SubLObject node, SubLObject module)
          Modifier: performs (remhash NODE graph) on graph determined by MODULE / *sbhl-module*
 void runTopLevelForms()
          Runs all top-level forms in order.
static SubLObject set_cache_strategy_for_sbhl_module(SubLObject sbhl_module, SubLObject cache_strategy)
           
static SubLObject set_sbhl_graph_link(SubLObject node, SubLObject direction_link, SubLObject module)
          Modifier: Sets the value corresonding to NODE in graph determined by MODULE / *sbhl-module* to DIRECTION-LINK, if it is an @see sbhl-direction-link-p.
static SubLObject setup_sbhl_graphs_file()
           
static SubLObject swap_out_all_pristine_graph_links(SubLObject module)
           
static SubLObject swap_out_all_pristine_sbhl_module_graph_links()
           
static SubLObject touch_sbhl_graph_link(SubLObject node, SubLObject direction_link, SubLObject module)
          Modifier: Notifies the SBHL swapping infrastructure that the NODE has been modified and that the swapping mechanism needs to treat this as mutated.
static SubLObject touch_sbhl_link_graph(SubLObject node, SubLObject graph, SubLObject v_cache)
          Inform the file vector backing infrastructure that the entry for the node in the graph is mutated.
 
Methods inherited from class com.cyc.tool.subl.util.SubLTranslatedFile
extractFunctionNamed
 
Methods inherited from class com.cyc.tool.subl.util.SubLTrampolineFile
checkType, enforceType, extractBinaryFunc, extractCount, extractEnd, extractEndUsingSize, extractPackage, extractStart, extractUnaryFunc, main
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

me

public static final SubLFile me

myName

public static final java.lang.String myName
See Also:
Constant Field Values

$sbhl_backing_file_vector$

public static SubLSymbol $sbhl_backing_file_vector$
The file vector that backs the SBHL graph.


$sbhl_backing_file_vector_caches_for_modules$

public static SubLSymbol $sbhl_backing_file_vector_caches_for_modules$
An ALIST-P that houses the association map from caches on a per-module basis


$sbhl_backing_file_vector_cache_size_percentage$

public static SubLSymbol $sbhl_backing_file_vector_cache_size_percentage$
The percentage of the graph size for the module that should be cached in memory


$sbhl_backing_file_vector_cache_minimum_size$

public static SubLSymbol $sbhl_backing_file_vector_cache_minimum_size$
The minimal size of the cache, in the case of small population (e.g. #$negationMt or #$successorStrict-HL-TimePrecedence)


$sbhl_backing_file_vector_cache_gather_cache_metricsP$

public static SubLSymbol $sbhl_backing_file_vector_cache_gather_cache_metricsP$
Whether the caches are supposed to keep metrics of their performance or not.


$sbhl_file_vector_data_stream_lock$

public static SubLSymbol $sbhl_file_vector_data_stream_lock$
The lock for ensuring that CFASL input against the stream is uninterrupted. See also FILE-VECTOR-UTILITIES for details on the implementation side.


$sbhl_backing_file_vector_cache_constructor$

public static SubLSymbol $sbhl_backing_file_vector_cache_constructor$
The allocator to use to get the new caches. Each constructor takes a capacity and an optional equality test.


$default_number_of_concurrent_readers$

public static SubLSymbol $default_number_of_concurrent_readers$

$default_number_of_terms_checked$

public static SubLSymbol $default_number_of_terms_checked$

$sym0$_SBHL_BACKING_FILE_VECTOR_

public static final SubLSymbol $sym0$_SBHL_BACKING_FILE_VECTOR_

$sym1$_SBHL_BACKING_FILE_VECTOR_CACHES_FOR_MODULES_

public static final SubLSymbol $sym1$_SBHL_BACKING_FILE_VECTOR_CACHES_FOR_MODULES_

$int2$100

public static final SubLInteger $int2$100

$sym3$_SBHL_FILE_VECTOR_DATA_STREAM_LOCK_

public static final SubLSymbol $sym3$_SBHL_FILE_VECTOR_DATA_STREAM_LOCK_

$str4$SBHL_File_Vector_Data_Stream_lock

public static final SubLString $str4$SBHL_File_Vector_Data_Stream_lock

$sym5$NEW_METERED_PREALLOCATED_CACHE

public static final SubLSymbol $sym5$NEW_METERED_PREALLOCATED_CACHE

$str6$sbhl_module_graphs

public static final SubLString $str6$sbhl_module_graphs

$str7$cfasl

public static final SubLString $str7$cfasl

$str8$sbhl_module_graphs_index

public static final SubLString $str8$sbhl_module_graphs_index

$kw9$INITIALIZED

public static final SubLSymbol $kw9$INITIALIZED

$kw10$UNINITIALIZED

public static final SubLSymbol $kw10$UNINITIALIZED

$sym11$CACHE_STRATEGY_OR_SYMBOL_P

public static final SubLSymbol $sym11$CACHE_STRATEGY_OR_SYMBOL_P

$sym12$SBHL_MODULE_P

public static final SubLSymbol $sym12$SBHL_MODULE_P

$kw13$ERROR

public static final SubLSymbol $kw13$ERROR

$str14$_A_is_not_a__A

public static final SubLString $str14$_A_is_not_a__A

$sym15$SBHL_DIRECTION_LINK_P

public static final SubLSymbol $sym15$SBHL_DIRECTION_LINK_P

$kw16$CERROR

public static final SubLSymbol $kw16$CERROR

$str17$continue_anyway

public static final SubLString $str17$continue_anyway

$kw18$WARN

public static final SubLSymbol $kw18$WARN

$str19$_A_is_not_a_valid__sbhl_type_erro

public static final SubLString $str19$_A_is_not_a_valid__sbhl_type_erro

$sym20$SBHL_NODE_OBJECT_P

public static final SubLSymbol $sym20$SBHL_NODE_OBJECT_P

$list21

public static final SubLList $list21

$list22

public static final SubLList $list22

$kw23$ALLOW_OTHER_KEYS

public static final SubLSymbol $kw23$ALLOW_OTHER_KEYS

$kw24$MODULE

public static final SubLSymbol $kw24$MODULE

$kw25$DONE

public static final SubLSymbol $kw25$DONE

$sym26$MAP

public static final SubLSymbol $sym26$MAP

$sym27$WITH_CFASL_COMMON_SYMBOLS_SIMPLE

public static final SubLSymbol $sym27$WITH_CFASL_COMMON_SYMBOLS_SIMPLE

$list28

public static final SubLList $list28

$sym29$CLET

public static final SubLSymbol $sym29$CLET

$sym30$GET_SBHL_GRAPH

public static final SubLSymbol $sym30$GET_SBHL_GRAPH

$sym31$DO_FILE_VECTOR_BACKED_MAP

public static final SubLSymbol $sym31$DO_FILE_VECTOR_BACKED_MAP

$list32

public static final SubLList $list32

$str33$Capacity______Hits____Misses__Sma

public static final SubLString $str33$Capacity______Hits____Misses__Sma

$str34$_________________________________

public static final SubLString $str34$_________________________________

$sym35$FORT__

public static final SubLSymbol $sym35$FORT__

$str36$___A

public static final SubLString $str36$___A

$list37

public static final SubLList $list37

$str38$_6_A__9_A__9_A__

public static final SubLString $str38$_6_A__9_A__9_A__

$str39$___

public static final SubLString $str39$___

$str40$_6_d__9_d__9_d_____A__

public static final SubLString $str40$_6_d__9_d__9_d_____A__

$str41$___

public static final SubLString $str41$___

$str42$

public static final SubLString $str42$

$int43$500

public static final SubLInteger $int43$500

$str44$Concurrent_Reads_Stress_Test_Prob

public static final SubLString $str44$Concurrent_Reads_Stress_Test_Prob

$str45$Concurrent_SBHL_Reader_

public static final SubLString $str45$Concurrent_SBHL_Reader_

$sym46$STRESS_TEST_READ_RANDOMLY_FROM_SBHL

public static final SubLSymbol $sym46$STRESS_TEST_READ_RANDOMLY_FROM_SBHL

$float47$0_1

public static final SubLFloat $float47$0_1

$sym48$VALID_PROCESS_P

public static final SubLSymbol $sym48$VALID_PROCESS_P

$sym49$CATCH_ERROR_MESSAGE_HANDLER

public static final SubLSymbol $sym49$CATCH_ERROR_MESSAGE_HANDLER

$const50$Individual

public static final SubLObject $const50$Individual

$str51$Concurrent_Cache_Strategy_Stress_

public static final SubLString $str51$Concurrent_Cache_Strategy_Stress_

$list52

public static final SubLList $list52

$sym53$STRESS_TEST_CHECK_SAME_SPECS

public static final SubLSymbol $sym53$STRESS_TEST_CHECK_SAME_SPECS

$const54$InferencePSC

public static final SubLObject $const54$InferencePSC
Method Detail

make_new_sbhl_graph

public static final SubLObject make_new_sbhl_graph()

initialize_sbhl_graph_caches_during_load_kb

public static final SubLObject initialize_sbhl_graph_caches_during_load_kb(SubLObject data_file,
                                                                           SubLObject index_file)
This is called by the load KB command after swapping in the references.


initialize_sbhl_graph_caches_file_vector

public static final SubLObject initialize_sbhl_graph_caches_file_vector(SubLObject data_file,
                                                                        SubLObject index_file)

initialize_sbhl_graph_caches

public static final SubLObject initialize_sbhl_graph_caches()

new_cache_strategy_for_sbhl_module

public static final SubLObject new_cache_strategy_for_sbhl_module(SubLObject sbhl_module,
                                                                  SubLObject capacity)
Allocate the cache strategy object for the SBHL graph file vector.


get_cache_strategy_for_sbhl_module

public static final SubLObject get_cache_strategy_for_sbhl_module(SubLObject sbhl_module)
Either fetch or allocate the CACHE-STRATEGY-P for the SBHL module provided. Assumes that the SBHL lock has already been acquired.


set_cache_strategy_for_sbhl_module

public static final SubLObject set_cache_strategy_for_sbhl_module(SubLObject sbhl_module,
                                                                  SubLObject cache_strategy)

cache_capacity_for_cache_strategy_for_sbhl_module

public static final SubLObject cache_capacity_for_cache_strategy_for_sbhl_module(SubLObject sbhl_module)
Compute the cache capacity as a percentage of the known size of the SBHL module graph, but clamp it to the minimum from below.

Returns:
POSITIVE-INTEGER-P

get_sbhl_graph_link_from_graph

public static final SubLObject get_sbhl_graph_link_from_graph(SubLObject node,
                                                              SubLObject graph,
                                                              SubLObject v_cache)
Get the graph link from the graph, potentially swapping it in from the file vector backing. Notice that the underlying implementation is smart enough to only lock the data stream when it is actually necessary.


put_sbhl_graph_link_into_graph

public static final SubLObject put_sbhl_graph_link_into_graph(SubLObject node,
                                                              SubLObject graph,
                                                              SubLObject v_cache,
                                                              SubLObject value)
Modify the graph in such a fashion that the file vector backed map can track the modification.


remove_sbhl_graph_link_from_graph

public static final SubLObject remove_sbhl_graph_link_from_graph(SubLObject node,
                                                                 SubLObject graph,
                                                                 SubLObject v_cache)
Remove that node from the graph, with potential modifications that can be tracked by the file vector backing infrastructure.


touch_sbhl_link_graph

public static final SubLObject touch_sbhl_link_graph(SubLObject node,
                                                     SubLObject graph,
                                                     SubLObject v_cache)
Inform the file vector backing infrastructure that the entry for the node in the graph is mutated.


get_sbhl_graph_link

public static final SubLObject get_sbhl_graph_link(SubLObject node,
                                                   SubLObject module)
Accessor: @return direction-link-p; the sbhl-direction-link structure for NODE within graph corresponding to PRED. uses MODULE / *sbhl-module* to access sbhl graph. @see get-sbhl-graph


set_sbhl_graph_link

public static final SubLObject set_sbhl_graph_link(SubLObject node,
                                                   SubLObject direction_link,
                                                   SubLObject module)
Modifier: Sets the value corresonding to NODE in graph determined by MODULE / *sbhl-module* to DIRECTION-LINK, if it is an @see sbhl-direction-link-p.


touch_sbhl_graph_link

public static final SubLObject touch_sbhl_graph_link(SubLObject node,
                                                     SubLObject direction_link,
                                                     SubLObject module)
Modifier: Notifies the SBHL swapping infrastructure that the NODE has been modified and that the swapping mechanism needs to treat this as mutated. The graph is determined by MODULE / *sbhl-module* as in @see get-sbhl-graph.


remove_sbhl_graph_link

public static final SubLObject remove_sbhl_graph_link(SubLObject node,
                                                      SubLObject module)
Modifier: performs (remhash NODE graph) on graph determined by MODULE / *sbhl-module*


swap_out_all_pristine_graph_links

public static final SubLObject swap_out_all_pristine_graph_links(SubLObject module)

swap_out_all_pristine_sbhl_module_graph_links

public static final SubLObject swap_out_all_pristine_sbhl_module_graph_links()

declare_sbhl_graphs_file

public static final SubLObject declare_sbhl_graphs_file()

init_sbhl_graphs_file

public static final SubLObject init_sbhl_graphs_file()

setup_sbhl_graphs_file

public static final SubLObject setup_sbhl_graphs_file()

declareFunctions

public void declareFunctions()
Description copied from interface: SubLFile
Declares the mapping between functions and symbols for all named functions defined in the file. Like CRTL define.


initializeVariables

public void initializeVariables()
Description copied from interface: SubLFile
Initializes all global variables and private internal variables for constants defined in the file. Like CRTL init.


runTopLevelForms

public void runTopLevelForms()
Description copied from interface: SubLFile
Runs all top-level forms in order. Like CRTL setup.